mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-22 08:12:19 +00:00
Added bracket
This commit is contained in:
parent
f70f5fa887
commit
9d83fa789b
2
app.js
2
app.js
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user