aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-01 13:29:38 +0200
committerChocobozzz <me@florianbigard.com>2018-10-01 15:20:13 +0200
commitd1105b97ef0b18626ad3b91e80b03d477baff8c6 (patch)
tree8bd5635e118fc42ee9875bb17bcb2a4163c6174b /server/controllers
parentabb2c7927ca1640a755e0ec32c51bcc9c873b34c (diff)
downloadPeerTube-d1105b97ef0b18626ad3b91e80b03d477baff8c6.tar.gz
PeerTube-d1105b97ef0b18626ad3b91e80b03d477baff8c6.tar.zst
PeerTube-d1105b97ef0b18626ad3b91e80b03d477baff8c6.zip
Fix dnt route
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/static.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts
index baafe1ac4..75e30353c 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -120,7 +120,7 @@ staticRouter.use('/.well-known/dnt-policy.txt',
120 (_, res: express.Response) => { 120 (_, res: express.Response) => {
121 res.type('text/plain') 121 res.type('text/plain')
122 122
123 return res.sendFile(join(root(), 'server/static/dnt-policy/dnt-policy-1.0.txt')) 123 return res.sendFile(join(root(), 'dist/server/static/dnt-policy/dnt-policy-1.0.txt'))
124 } 124 }
125) 125)
126 126