mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Remove unused file
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user