This commit is contained in:
Pengxiansen
2025-02-16 17:36:15 +08:00
parent 8daf1d5374
commit ab45b0aaa6
10 changed files with 836 additions and 986 deletions

View File

@@ -37,11 +37,15 @@ export default defineConfig(({ command, mode }) =>
},
server: {
proxy: {
"/professional": {
// target: 'http://192.168.16.195:32002',
target: 'http://192.168.150.97:32002',
// "/professional": {
// // target: 'http://192.168.16.195:32002',
// target: 'http://192.168.150.97:32002',
// changeOrigin: true,
// },
'/growth': {
target: 'https://u-pre.boe.com',
changeOrigin: true,
},
},
'/file/upload': {
target: loadEnv(mode, process.cwd()).VITE_PROXY_URL,
changeOrigin: true,