wip
This commit is contained in:
parent
93b7945d2b
commit
a4c8e7ede9
|
@ -21,7 +21,7 @@ services:
|
|||
environment:
|
||||
- PORT=3000
|
||||
- MONGODB_URL=mongodb://mongo/obsTest
|
||||
- UPLOADS_DIR=/data
|
||||
- DATA_DIR=/data
|
||||
links:
|
||||
- mongo
|
||||
ports:
|
||||
|
|
|
@ -368,7 +368,7 @@ router.get(
|
|||
return res.sendStatus(403);
|
||||
}
|
||||
|
||||
return res.sendFile(req.track.fullOriginalFilePath)
|
||||
return res.download(req.track.fullOriginalFilePath)
|
||||
}),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue