This commit is contained in:
Pengxiansen
2025-02-17 11:47:06 +08:00
parent 22e5c89701
commit b58772e88d
4 changed files with 70 additions and 178 deletions

View File

@@ -18,15 +18,15 @@ module.exports = defineConfig({
overlay: false,// 解决代码抛出异常
},
proxy: {
"/professional": {
target: 'http://192.168.150.97:32002',
// target: 'http://192.168.237.141:32002',
changeOrigin: true,
},
// "/growth": {
// target: 'https:' + process.env.VUE_APP_BOE_API_URL,
// "/professional": {
// target: 'http://192.168.150.97:32002',
// // target: 'http://192.168.237.141:32002',
// changeOrigin: true,
// },
"/growth": {
target: 'https:' + process.env.VUE_APP_BOE_API_URL,
changeOrigin: true,
},
"/manageApi": {
target: 'https:' + process.env.VUE_APP_PROXY_URL,
changeOrigin: true, //表示是否改变原域名