Commit fb29dd51 authored by Nicolas Giard's avatar Nicolas Giard

fix: setup navigation

parent 9a2a9c22
...@@ -207,7 +207,7 @@ module.exports = () => { ...@@ -207,7 +207,7 @@ module.exports = () => {
await WIKI.models.navigation.query().delete().where({ key: 'site' }) await WIKI.models.navigation.query().delete().where({ key: 'site' })
await WIKI.models.navigation.query().insert({ await WIKI.models.navigation.query().insert({
key: 'site', key: 'site',
config: JSON.stringify([ config: [
{ {
icon: 'home', icon: 'home',
kind: 'link', kind: 'link',
...@@ -215,7 +215,7 @@ module.exports = () => { ...@@ -215,7 +215,7 @@ module.exports = () => {
target: '/', target: '/',
targetType: 'home' targetType: 'home'
} }
]) ]
}) })
WIKI.logger.info('Setup is complete!') WIKI.logger.info('Setup is complete!')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment