From 99d376af4c3f8d9faafe84fe35cc2fa986ba6b3c Mon Sep 17 00:00:00 2001 From: Anthony Correa Date: Mon, 18 Mar 2024 20:12:12 -0500 Subject: [PATCH] re-enable 404 catchall --- src/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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