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-08 11:06:40 +0200
commit655c957cc3004c4b4841538486f009511573cdf2 (patch)
tree822241e6136171b6866201933a5207ecf6b834a1 /server/controllers/static.ts
parent4d3e611dd2764d1d5d0a7e777312631e1e7005d4 (diff)
downloadPeerTube-655c957cc3004c4b4841538486f009511573cdf2.tar.gz
PeerTube-655c957cc3004c4b4841538486f009511573cdf2.tar.zst
PeerTube-655c957cc3004c4b4841538486f009511573cdf2.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)