fix: setup locale crash

pull/760/head
Nicolas Giard 6 years ago
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…
Cancel
Save