localization support
This commit is contained in:
parent
f99d6f88c3
commit
d91128274b
29 changed files with 396 additions and 194 deletions
|
@ -1,6 +1,8 @@
|
|||
const config = require('../config')
|
||||
|
||||
module.exports = (req, res, next) => {
|
||||
res.locals.config = config
|
||||
res.locals.req = req
|
||||
res.locals.lang = _CC.lang
|
||||
next()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue