This commit is contained in:
Pengxiansen
2025-02-26 20:59:29 +08:00
parent 1cdd62a358
commit c548b3cc18
3 changed files with 69 additions and 59 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.31.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.31.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,