qxn
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user