re-enable 404 catchall

This commit is contained in:
2024-03-18 20:12:12 -05:00
parent 2b497a0227
commit 99d376af4c

View File

@@ -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};