mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
修改
This commit is contained in:
@@ -114,7 +114,7 @@ module.exports = {
|
||||
proxy: {
|
||||
'/systemapi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://localhost:9090',
|
||||
target: 'http://192.168.0.10:9090',
|
||||
changeOrigin: true,
|
||||
logLevel:'debug',
|
||||
secure: false,
|
||||
@@ -131,6 +131,26 @@ module.exports = {
|
||||
'^/uboeApi': '/api'
|
||||
}
|
||||
},
|
||||
'/statApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://192.168.0.107:9080',
|
||||
changeOrigin: true,
|
||||
logLevel:'debug',
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
'^/statApi': ''
|
||||
}
|
||||
},
|
||||
'/subgroupApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://192.168.0.107:9081',
|
||||
changeOrigin: true,
|
||||
logLevel:'debug',
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
'^/subgroupApi': ''
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user