fix(security): always use application/octet-stream

This commit is contained in:
KernelDeimos 2024-04-22 23:54:03 -04:00
parent f9d561d40b
commit 74e213a534

View File

@ -96,7 +96,7 @@ router.get('/file', async (req, res, next)=>{
res.resource_owner = fsentry[0].user_id;
// try to deduce content-type
const contentType = mime.contentType(fsentry[0].name)
const contentType = "application/octet-stream";
// update `accessed`
db.write(