Browse Source

fix: site config host slice

pull/1991/head
NGPixel 4 years ago
parent
commit
c2a0773633
1 changed files with 1 additions and 1 deletions
  1. 2
      server/graph/resolvers/site.js

2
server/graph/resolvers/site.js

@ -32,7 +32,7 @@ module.exports = {
if (args.host) {
let siteHost = _.trim(args.host)
if (siteHost.endsWith('/')) {
siteHost = siteHost.splice(0, -1)
siteHost = siteHost.slice(0, -1)
}
WIKI.config.host = siteHost
}

Loading…
Cancel
Save