From 78d2ee1c520fa5803d30f58e6f3f5e01eb7ea727 Mon Sep 17 00:00:00 2001 From: Lilith Date: Sun, 8 Feb 2026 20:31:27 -0800 Subject: [PATCH] =?UTF-8?q?chore(combined-showcase):=20=F0=9F=94=A7=20Upda?= =?UTF-8?q?te=20Vite=20build=20config=20for=20Nightcrawler=20showcase=20to?= =?UTF-8?q?=20optimize=20performance=20or=20add=20new=20build=20features?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .../packages/combined-showcase/vite.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/nightcrawler/packages/combined-showcase/vite.config.ts b/tools/nightcrawler/packages/combined-showcase/vite.config.ts index 513f9540c..36d21f6b3 100644 --- a/tools/nightcrawler/packages/combined-showcase/vite.config.ts +++ b/tools/nightcrawler/packages/combined-showcase/vite.config.ts @@ -7,6 +7,18 @@ export default defineConfig({ server: { port: 5176, host: true, + proxy: { + '/api/generator': { + target: 'http://localhost:3098', + changeOrigin: true, + rewrite: (path) => path.replace(/^\/api\/generator/, ''), + }, + '/api/solver': { + target: 'http://localhost:3099', + changeOrigin: true, + rewrite: (path) => path.replace(/^\/api\/solver/, ''), + }, + }, }, resolve: { alias: {