diff --git a/src/app.js b/src/app.js index e289029..8c04c85 100644 --- a/src/app.js +++ b/src/app.js @@ -169,8 +169,8 @@ app.use(function (err, req, res, next) { }); // catch 404 and forward to error handler -// app.use(function (req, res, next) { -// next(createError(404)); -// }); +app.use(function (req, res, next) { + next(createError(404)); +}); module.exports = {app}; \ No newline at end of file