Merge branch 'main' into docker
This commit is contained in:
@@ -169,9 +169,9 @@ 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));
|
||||
});
|
||||
|
||||
app.set('trust proxy')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user