fix: site config host slice

This commit is contained in:
NGPixel 2020-06-04 00:32:58 -04:00
parent ca87f9088a
commit c2a0773633

View File

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