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