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) => { |
|||
res.locals.req = req; |
|||
res.locals.res = res; |
|||
res.locals.version = pkg.version; |
|||
next(); |
|||
}; |
|||
|
Loading…
Reference in new issue