This commit is contained in:
BianLzhaoMin 2025-12-16 17:31:34 +08:00
parent fa6e16d8af
commit fcd6ce6ede
1 changed files with 5 additions and 4 deletions

View File

@ -23,16 +23,17 @@ export default defineConfig({
// }, // },
// 实名制系统代理规则 // 实名制系统代理规则
'/bmw': { '/bmw': {
// target: 'http://192.168.0.234:1917/hnAma/', // target: 'http://192.168.0.234:1917/hnAma/', // 方
// target: 'http://192.168.0.14:1917/hnAma/', target: 'http://192.168.0.14:1917/hnAma/', // 原测试环境
target: 'http://192.168.0.38:18080/bnscloud/realnameapp/', // target: 'http://192.168.0.38:18080/bnscloud/realnameapp/', // 网关 郝
changeOrigin: true, changeOrigin: true,
rewrite: (path) => { rewrite: (path) => {
return path.replace(/\/bmw/, '') return path.replace(/\/bmw/, '')
}, },
}, },
'/leader': { '/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, changeOrigin: true,
rewrite: (path) => { rewrite: (path) => {
return path.replace(/\/leader/, '') return path.replace(/\/leader/, '')