This commit is contained in:
Paul Bienkowski 2020-12-19 15:32:46 +01:00 committed by uwewoessner
parent 93b7945d2b
commit a4c8e7ede9
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ services:
environment: environment:
- PORT=3000 - PORT=3000
- MONGODB_URL=mongodb://mongo/obsTest - MONGODB_URL=mongodb://mongo/obsTest
- UPLOADS_DIR=/data - DATA_DIR=/data
links: links:
- mongo - mongo
ports: ports:

View file

@ -368,7 +368,7 @@ router.get(
return res.sendStatus(403); return res.sendStatus(403);
} }
return res.sendFile(req.track.fullOriginalFilePath) return res.download(req.track.fullOriginalFilePath)
}), }),
); );