Set koa-locales options

This commit is contained in:
Thomas Oberndörfer 2019-06-18 12:04:23 +02:00
parent b15879f31b
commit 11f99f8d40

View File

@ -38,7 +38,10 @@ render(app, {
root: path.join(__dirname, '../view')
});
locales(app);
locales(app, {
dirs: [path.join(__dirname, '../../locales')],
writeCookie: false
});
let hkp;
let rest;