This commit is contained in:
lmj
2022-09-07 16:56:08 +08:00
parent c6781abee3
commit 309b2dcf1c
2 changed files with 27 additions and 1 deletions

View File

@@ -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': ''
}
},
},
},
}