diff --git a/api/src/index.js b/api/src/index.js index 29f4c1c..94840ad 100644 --- a/api/src/index.js +++ b/api/src/index.js @@ -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(':');