mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
fixed bracket bug
This commit is contained in:
@@ -84,9 +84,9 @@ app.get('/assets/download/:id', (req, res) => {
|
|||||||
log.info('Deleted:', id);
|
log.info('Deleted:', id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
file_stream.pipe(res);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
file_stream.pipe(res);
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
res.sendStatus(404);
|
res.sendStatus(404);
|
||||||
|
|||||||
Reference in New Issue
Block a user