1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Stop indexing /about/peertube

This commit is contained in:
Chocobozzz 2021-10-08 11:06:02 +02:00
parent 32e06ca4de
commit 42cc1887af
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 33 additions and 2 deletions

View file

@ -69,6 +69,7 @@ staticRouter.get('/robots.txt',
cacheRoute(ROUTE_CACHE_LIFETIME.ROBOTS),
(_, res: express.Response) => {
res.type('text/plain')
return res.send(CONFIG.INSTANCE.ROBOTS)
}
)