联调 承载能力评估
This commit is contained in:
@@ -11,7 +11,8 @@ export default defineConfig({
|
||||
host: '0.0.0.0',
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://192.168.1.81:10215', //数据中心
|
||||
// target: 'http://192.168.1.81:10215', //数据中心
|
||||
target: 'http://192.168.1.31:10215', //数据中心
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''
|
||||
},
|
||||
@@ -19,11 +20,7 @@ export default defineConfig({
|
||||
target: 'http://192.168.1.81:8088', //数据中心
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/hzj': {
|
||||
target: 'http://550fa81d.nat123.fun', //黄正剑
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/hzj/, '')
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user