fix: Fix New fields naming
This commit is contained in:
committed by
Benedikt Rötsch
parent
418871c6cf
commit
c6d12b4afd
1
app.js
1
app.js
@@ -106,7 +106,6 @@ app.use(function (req, res, next) {
|
||||
// error handler
|
||||
app.use(function (err, req, res, next) {
|
||||
// set locals, only providing error in development
|
||||
res.locals.message = err.message
|
||||
res.locals.error = req.app.get('env') === 'development' ? err : {}
|
||||
|
||||
// render the error page
|
||||
|
||||
Reference in New Issue
Block a user