This commit is contained in:
parent
fa6e16d8af
commit
fcd6ce6ede
|
|
@ -23,16 +23,17 @@ export default defineConfig({
|
|||
// },
|
||||
// 实名制系统代理规则
|
||||
'/bmw': {
|
||||
// target: 'http://192.168.0.234:1917/hnAma/',
|
||||
// target: 'http://192.168.0.14:1917/hnAma/',
|
||||
target: 'http://192.168.0.38:18080/bnscloud/realnameapp/',
|
||||
// target: 'http://192.168.0.234:1917/hnAma/', // 方
|
||||
target: 'http://192.168.0.14:1917/hnAma/', // 原测试环境
|
||||
// target: 'http://192.168.0.38:18080/bnscloud/realnameapp/', // 网关 郝
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => {
|
||||
return path.replace(/\/bmw/, '')
|
||||
},
|
||||
},
|
||||
'/leader': {
|
||||
target: 'http://192.168.0.14:42880/ldlz/',
|
||||
// target: 'http://192.168.0.14:42880/ldlz/', // 原测试环境
|
||||
target: 'http://192.168.0.38:18080/bnscloud/ldlz/', // 网关 郝
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => {
|
||||
return path.replace(/\/leader/, '')
|
||||
|
|
|
|||
Loading…
Reference in New Issue