BUG 30097

This commit is contained in:
aixianling
2022-06-08 10:48:17 +08:00
parent aae31a7bb8
commit a7ced7a899
2 changed files with 6 additions and 15 deletions

View File

@@ -15,9 +15,9 @@ instance.interceptors.request.use(config => {
} else if (/AppCountryAlbum/.test(location.pathname) || config.module == 'AppCountryAlbum') {
config.baseURL = '/aca'
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
} else if (/\/grid\//.test(location.pathname)) {
} else if (/\/project\/beta\//.test(location.pathname)) {
config.baseURL = '/wangge'
} else if (/\/project\/police\//.test(location.pathname)||config.module=='hnjc') {
} else if (/\/project\/police\//.test(location.pathname) || config.module == 'hnjc') {
config.baseURL = '/hnjc'
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
} else if (sessionStorage.getItem("prj") == "saas") {