6 lines
138 B
JavaScript
6 lines
138 B
JavaScript
const config = require('../config')
|
|
module.exports = (req, res, next) => {
|
|
res.locals.config = config
|
|
res.locals.req = req
|
|
next()
|
|
}
|