aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/static.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-08 11:06:02 +0200
committerChocobozzz <me@florianbigard.com>2021-10-11 09:37:26 +0200
commit42cc1887afc80e10ff40675621fe683c76537a18 (patch)
tree6409fb274d881e097095de9231e9be66199a2436 /server/controllers/static.ts
parent32e06ca4de8480e3b6d4542ef5cd7381b3795465 (diff)
downloadPeerTube-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.ts1
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)