Browse Source

fix: handle empty ToC position value

pull/6185/head v2.5.297
NGPixel 1 year ago
parent
commit
490fab1173
No known key found for this signature in database GPG Key ID: 8FDA2F1757F60D63
1 changed files with 1 additions and 1 deletions
  1. 2
      server/master.js

2
server/master.js

@ -149,7 +149,7 @@ module.exports = async () => {
title: WIKI.config.title,
theme: WIKI.config.theming.theme,
darkMode: WIKI.config.theming.darkMode,
tocPosition: WIKI.config.theming.tocPosition,
tocPosition: WIKI.config.theming.tocPosition || 'left',
lang: WIKI.config.lang.code,
rtl: WIKI.config.lang.rtl,
company: WIKI.config.company,

Loading…
Cancel
Save