This commit is contained in:
liuye
2023-01-03 09:41:45 +08:00
parent 8fe8b65535
commit e19b9bcc4a
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ instance.interceptors.request.use(config => {
} else if (/#url-/.test(location.hash)) {
config.baseURL = location.hash.replace(/#url-/, '/')
}
if (["/xsjr", "/omsapi", "/tfx"].includes(config.baseURL)) {
if (["/xsjr", "/omsapi", "/tfx", "/qxn"].includes(config.baseURL)) {
config.url = config.url.replace(/(app|auth|admin|api)\//, "")
}
return config