소스 검색

fix: setup locale crash

Nicolas Giard 6 년 전
부모
커밋
3c8dcdcc37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'