From fb29dd511bfaa7117cf5e7c550e672690718454b Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sat, 3 Nov 2018 01:02:08 -0400 Subject: [PATCH] fix: setup navigation --- server/setup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/setup.js b/server/setup.js index 1c8e10c2..b1446c35 100644 --- a/server/setup.js +++ b/server/setup.js @@ -207,7 +207,7 @@ module.exports = () => { await WIKI.models.navigation.query().delete().where({ key: 'site' }) await WIKI.models.navigation.query().insert({ key: 'site', - config: JSON.stringify([ + config: [ { icon: 'home', kind: 'link', @@ -215,7 +215,7 @@ module.exports = () => { target: '/', targetType: 'home' } - ]) + ] }) WIKI.logger.info('Setup is complete!')