wip
This commit is contained in:
parent
93b7945d2b
commit
a4c8e7ede9
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -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)
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue