Browse Source

fix: setup navigation

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

+ 2 - 2
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!')