Added bracket

This commit is contained in:
Esther 2020-06-22 17:48:10 +01:00
parent f70f5fa887
commit 9d83fa789b
No known key found for this signature in database
GPG Key ID: 162A307C5EBD40EA

2
app.js
View File

@ -31,7 +31,7 @@ app.use('/', indexRouter);
// catch 404 and forward to error handler // catch 404 and forward to error handler
app.use(function(req, res, next) { app.use(function(req, res, next) {
next(createError(404); next(createError(404));
}); });
// error handler // error handler