mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 01:58:00 +08:00
7 lines
131 B
JavaScript
7 lines
131 B
JavaScript
const i18n = require('../services/i18n');
|
|
|
|
module.exports = (req, res, next) => {
|
|
res.locals.t = i18n.request(req);
|
|
next();
|
|
};
|