404 error
This commit is contained in:
parent
62ce090b91
commit
487bde6526
|
@ -109,6 +109,10 @@ const app = express();
|
|||
.send(runtimes);
|
||||
});
|
||||
|
||||
app.use(function (req,res,next){
|
||||
return res.status(404).send({message: 'Not Found'});
|
||||
});
|
||||
|
||||
logger.debug('Calling app.listen');
|
||||
const [ address, port ] = config.bind_address.split(':');
|
||||
|
||||
|
|
Loading…
Reference in New Issue