fix: site config host slice

pull/1991/head
NGPixel 5 years ago
parent ca87f9088a
commit c2a0773633

@ -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