From 3c8dcdcc3717ee5a6f263e3972948e063874c0d5 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sun, 20 Jan 2019 02:26:21 -0500 Subject: [PATCH] fix: setup locale crash --- server/setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/setup.js b/server/setup.js index 41d5cb5d..525bd507 100644 --- a/server/setup.js +++ b/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'