Set koa-locales options
This commit is contained in:
parent
b15879f31b
commit
11f99f8d40
@ -38,7 +38,10 @@ render(app, {
|
|||||||
root: path.join(__dirname, '../view')
|
root: path.join(__dirname, '../view')
|
||||||
});
|
});
|
||||||
|
|
||||||
locales(app);
|
locales(app, {
|
||||||
|
dirs: [path.join(__dirname, '../../locales')],
|
||||||
|
writeCookie: false
|
||||||
|
});
|
||||||
|
|
||||||
let hkp;
|
let hkp;
|
||||||
let rest;
|
let rest;
|
||||||
|
Loading…
Reference in New Issue
Block a user