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