1
0
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:
Francesco Esposito 2019-08-22 17:43:20 +02:00
parent d6925adcac
commit a422605344

View File

@ -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, () => {