Remove unused file
This commit is contained in:
parent
c5397bd066
commit
e049e3ec73
|
@ -5,7 +5,6 @@ export * from './async.js'
|
|||
export * from './auth.js'
|
||||
export * from './pagination.js'
|
||||
export * from './rate-limiter.js'
|
||||
export * from './robots.js'
|
||||
export * from './servers.js'
|
||||
export * from './sort.js'
|
||||
export * from './user-right.js'
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
import express from 'express'
|
||||
|
||||
function disableRobots (req: express.Request, res: express.Response, next: express.NextFunction) {
|
||||
res.setHeader('X-Robots-Tag', 'noindex')
|
||||
|
||||
return next()
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export {
|
||||
disableRobots
|
||||
}
|
Loading…
Reference in New Issue