1 changed files with 2 additions and 4 deletions
@ -1,7 +1,5 @@ |
|||
module.exports = (req, res, next) => { |
|||
req.app.settings.nunjucksEnv |
|||
.addGlobal('req', req) |
|||
.addGlobal('res', res); |
|||
|
|||
res.locals.req = req; |
|||
res.locals.res = res; |
|||
next(); |
|||
} |
|||
|
Loading…
Reference in new issue