commit
This commit is contained in:
@@ -23,6 +23,20 @@ module.exports = defineConfig({
|
||||
'/api':{
|
||||
target:'http://192.168.1.9:5567',
|
||||
changeOrigin:true,
|
||||
},
|
||||
'/robot':{
|
||||
target:'http://18.167.251.121:9991',
|
||||
changeOrigin:true,
|
||||
pathRewrite:{
|
||||
'^/robot': 'api', // api替换成api
|
||||
}
|
||||
},
|
||||
'xuPei':{
|
||||
target:'http://192.168.1.10:5567',
|
||||
changeOrigin:true,
|
||||
pathRewrite:{
|
||||
'^/xuPei': 'api', // api替换成api
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user