Commit 5f18c71e authored by Nicolas Giard's avatar Nicolas Giard Committed by Nick

fix: error page pagemeta title

parent 72253f9c
......@@ -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 : {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment