Set koa-locales options
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user