This commit is contained in:
Teo
2025-07-26 11:49:39 +08:00
parent d503e64098
commit dd9b5da394
9 changed files with 416 additions and 9 deletions

View File

@ -31,19 +31,19 @@ export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => {
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
},
'/warm-flow-ui': {
target: 'http://192.168.110.119:8899',
target: env.VITE_APP_BASE_API,
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
},
'/warm-flow': {
target: 'http://192.168.110.119:8899',
target: env.VITE_APP_BASE_API,
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
},
'/workflow': {
target: 'http://192.168.110.119:8899',
target: env.VITE_APP_BASE_API,
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')