1
0
Fork 0

Remove unused file

This commit is contained in:
Chocobozzz 2023-10-06 08:44:17 +02:00
parent c5397bd066
commit e049e3ec73
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 0 additions and 14 deletions

View File

@ -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'

View File

@ -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
}