fix: error page pagemeta title

pull/760/head
Nicolas Giard 6 years ago committed by Nick
parent 72253f9cb5
commit 5f18c71ef2

@ -153,7 +153,7 @@ module.exports = async () => {
app.use((err, req, res, next) => {
res.status(err.status || 500)
res.locals.pageMeta.title = 'Error'
_.set(res.locals, 'pageMeta.title', 'Error')
res.render('error', {
message: err.message,
error: WIKI.IS_DEBUG ? err : {}

Loading…
Cancel
Save