feat: default locale with namespacing

This commit is contained in:
Nick
2019-06-21 23:39:04 -04:00
parent 28cf67cdaa
commit 1dfb55e803
7 changed files with 56 additions and 50 deletions

View File

@@ -13,7 +13,7 @@ module.exports = {
*/
parsePath (rawPath, opts = {}) {
let pathObj = {
locale: 'en',
locale: WIKI.config.lang.code,
path: 'home',
private: false,
privateNS: ''