Merge branch 'build' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_webapp into build
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
|
||||
|
||||
@@ -129,7 +129,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
'/qxn': {
|
||||
target: 'http://192.168.1.87:12000',
|
||||
target: 'http://192.168.1.87:12001',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
//地址重写
|
||||
|
||||
Reference in New Issue
Block a user