最新代码
This commit is contained in:
@ -31,19 +31,25 @@ 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), '')
|
||||
},
|
||||
'/auth': {
|
||||
target: env.VITE_APP_BASE_API,
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
|
||||
|
Reference in New Issue
Block a user