diff --git a/app.js b/app.js index 48197a3..a2320cc 100644 --- a/app.js +++ b/app.js @@ -31,7 +31,7 @@ app.use('/', indexRouter); // catch 404 and forward to error handler app.use(function(req, res, next) { - next(createError(404); + next(createError(404)); }); // error handler