src/index.js
@@ -190,10 +190,12 @@ GLOB.linkurl = GLOB.linkurl + 'index.html' } GLOB.service = _service ? _service + '/' : '' GLOB.host = window.location.host + (_service ? '_' + _service : '') } else { GLOB.linkurl = '' GLOB.location = config.host GLOB.service = config.service GLOB.host = config.host.replace(/http(s)?:\/\//ig, '') + (config.service ? '_' + config.service.replace(/\//ig, '') : '') } let mark = sessionStorage.getItem('system_mark')