commit 8.5
This commit is contained in:
@@ -14,11 +14,15 @@ module.exports = defineConfig({
|
||||
: '10086',
|
||||
|
||||
proxy: {
|
||||
"/api": {
|
||||
// target: 'https://www.aida.com.hk', //后端接口地址
|
||||
target: process.env.VUE_APP_BASE_URL,
|
||||
changeOrigin: true, //是否允许跨越
|
||||
}
|
||||
// "/api": {
|
||||
// // target: 'https://www.aida.com.hk', //后端接口地址
|
||||
// target: process.env.VUE_APP_BASE_URL,
|
||||
// changeOrigin: true, //是否允许跨越
|
||||
// }
|
||||
'http://192.168.1.5:10086/api':{
|
||||
target:'http://18.167.251.121:5567',
|
||||
changeOrigin:true,
|
||||
}
|
||||
},
|
||||
},
|
||||
pluginOptions: {
|
||||
|
||||
Reference in New Issue
Block a user