diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-08 11:06:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-11 09:37:26 +0200 |
commit | 42cc1887afc80e10ff40675621fe683c76537a18 (patch) | |
tree | 6409fb274d881e097095de9231e9be66199a2436 /server/controllers/static.ts | |
parent | 32e06ca4de8480e3b6d4542ef5cd7381b3795465 (diff) | |
download | PeerTube-42cc1887afc80e10ff40675621fe683c76537a18.tar.gz PeerTube-42cc1887afc80e10ff40675621fe683c76537a18.tar.zst PeerTube-42cc1887afc80e10ff40675621fe683c76537a18.zip |
Stop indexing /about/peertube
Diffstat (limited to 'server/controllers/static.ts')
-rw-r--r-- | server/controllers/static.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts index 1c04e4b11..fe1629910 100644 --- a/server/controllers/static.ts +++ b/server/controllers/static.ts | |||
@@ -69,6 +69,7 @@ staticRouter.get('/robots.txt', | |||
69 | cacheRoute(ROUTE_CACHE_LIFETIME.ROBOTS), | 69 | cacheRoute(ROUTE_CACHE_LIFETIME.ROBOTS), |
70 | (_, res: express.Response) => { | 70 | (_, res: express.Response) => { |
71 | res.type('text/plain') | 71 | res.type('text/plain') |
72 | |||
72 | return res.send(CONFIG.INSTANCE.ROBOTS) | 73 | return res.send(CONFIG.INSTANCE.ROBOTS) |
73 | } | 74 | } |
74 | ) | 75 | ) |