mirror of
https://github.com/franjsco/umbrello-api
synced 2025-06-05 21:59:35 +02:00
Fix send status 404
This commit is contained in:
@ -13,7 +13,7 @@ app.get('/', (req, res) => {
|
||||
|
||||
app.get('*', (req, res) => {
|
||||
logger.error(`404 ${req.path}`);
|
||||
res.send(404).send();
|
||||
res.status(404).send();
|
||||
});
|
||||
|
||||
app.listen(3000, () => {
|
||||
|
Reference in New Issue
Block a user