From 9d83fa789b573e6af91b7d43982695e5e04612ad Mon Sep 17 00:00:00 2001 From: Esther Date: Mon, 22 Jun 2020 17:48:10 +0100 Subject: [PATCH] Added bracket --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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