Luke Childs
7 years ago
3 changed files with 22 additions and 13 deletions
@ -1,5 +1,8 @@ |
|||||
|
const pkg = require('../package.json'); |
||||
|
|
||||
module.exports = (req, res, next) => { |
module.exports = (req, res, next) => { |
||||
res.locals.req = req; |
res.locals.req = req; |
||||
res.locals.res = res; |
res.locals.res = res; |
||||
|
res.locals.version = pkg.version; |
||||
next(); |
next(); |
||||
}; |
}; |
||||
|
Loading…
Reference in new issue