This commit is contained in:
Pengxiansen
2025-02-25 15:34:11 +08:00
parent c05f473ef3
commit deba79c17d
3 changed files with 99 additions and 161 deletions

View File

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