From 00a87b86cd87d67b6f456ac174bf843876d11778 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Mon, 30 Mar 2026 14:43:38 -0700 Subject: [PATCH] =?UTF-8?q?chore(studio):=20=F0=9F=94=A7=20Update=20Vite?= =?UTF-8?q?=20build=20configuration=20for=20studio=20optimizations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- studio/vite.config.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/studio/vite.config.ts b/studio/vite.config.ts index 5aaf6d49..812c0cbe 100644 --- a/studio/vite.config.ts +++ b/studio/vite.config.ts @@ -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/, ''), + }, }, }, });