This commit is contained in:
WangXiaoDong
2023-09-25 10:09:00 +08:00
parent 173f35042d
commit d9868d5cf0
37 changed files with 1618 additions and 1146 deletions

View File

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