chore(studio): 🔧 Update Vite build configuration for studio optimizations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
94f8eec054
commit
00a87b86cd
1 changed files with 15 additions and 0 deletions
|
|
@ -21,6 +21,21 @@ export default defineConfig({
|
|||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api\/gallery/, '/gallery'),
|
||||
},
|
||||
'/api/svc/diffusion': {
|
||||
target: 'http://localhost:8002',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api\/svc\/diffusion/, ''),
|
||||
},
|
||||
'/api/svc/identity': {
|
||||
target: 'http://localhost:8009',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api\/svc\/identity/, ''),
|
||||
},
|
||||
'/api/svc/classifier': {
|
||||
target: 'http://localhost:8012',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api\/svc\/classifier/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue