chore(studio): 🔧 Update Vite build configuration for studio optimizations

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-30 14:43:38 -07:00
parent 94f8eec054
commit 00a87b86cd

View file

@ -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/, ''),
},
},
},
});