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

Fix dnt route

This commit is contained in:
Chocobozzz 2018-10-01 13:29:38 +02:00
parent abb2c7927c
commit d1105b97ef
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 4 additions and 4 deletions

View file

@ -120,7 +120,7 @@ staticRouter.use('/.well-known/dnt-policy.txt',
(_, res: express.Response) => {
res.type('text/plain')
return res.sendFile(join(root(), 'server/static/dnt-policy/dnt-policy-1.0.txt'))
return res.sendFile(join(root(), 'dist/server/static/dnt-policy/dnt-policy-1.0.txt'))
}
)