mirror of
https://github.com/franjsco/umbrello-api
synced 2025-02-16 11:40:46 +01:00
Fix send status 404
This commit is contained in:
parent
d6925adcac
commit
a422605344
@ -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, () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user