From 530e033f9fdba1dfd02848d5839fd348ca6eeed1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 16 九月 2022 00:09:45 +0800 Subject: [PATCH] 2022-09-16 --- src/index.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index 34031a7..c094113 100644 --- a/src/index.js +++ b/src/index.js @@ -210,11 +210,13 @@ } GLOB.service = _service ? _service + '/' : '' GLOB.host = window.location.host + (_service ? '_' + _service : '') + GLOB.baseurl = document.location.origin + '/' + GLOB.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, '') : '') + GLOB.baseurl = GLOB.location + '/' + GLOB.service } let mark = sessionStorage.getItem('system_mark') -- Gitblit v1.8.0