Browse Source

fix: setup locale crash

Nicolas Giard 6 years ago
parent
commit
3c8dcdcc37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/setup.js

+ 1 - 1
server/setup.js

@@ -202,7 +202,7 @@ module.exports = () => {
       WIKI.logger.info('Installing default locale...')
       await WIKI.models.locales.query().insert({
         code: 'en',
-        strings: require('./locales/default.json'),
+        strings: JSON.stringify({}),
         isRTL: false,
         name: 'English',
         nativeName: 'English'