fix: setup locale crash
This commit is contained in:
parent
cad45f57fd
commit
3c8dcdcc37
@ -202,7 +202,7 @@ module.exports = () => {
|
|||||||
WIKI.logger.info('Installing default locale...')
|
WIKI.logger.info('Installing default locale...')
|
||||||
await WIKI.models.locales.query().insert({
|
await WIKI.models.locales.query().insert({
|
||||||
code: 'en',
|
code: 'en',
|
||||||
strings: require('./locales/default.json'),
|
strings: JSON.stringify({}),
|
||||||
isRTL: false,
|
isRTL: false,
|
||||||
name: 'English',
|
name: 'English',
|
||||||
nativeName: 'English'
|
nativeName: 'English'
|
||||||
|
Loading…
Reference in New Issue
Block a user