From f530c1ae0fc664c2ab47d8859a71fd83c53ca9fc Mon Sep 17 00:00:00 2001 From: Momentry Studio Date: Sat, 31 Oct 2026 04:36:23 +0800 Subject: [PATCH] fix: add auth proxy route to Core API - Added /api/v1/auth proxy route to port 3002 - Fixes 500 error on login endpoint --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index ecf7633..db63ef2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -28,6 +28,10 @@ export default defineConfig({ '.ddns.net' ], proxy: { + '/api/v1/auth': { + target: 'http://localhost:3002', + changeOrigin: true, + }, '/api/v1/trace-profile-file': { target: 'http://localhost:3002', changeOrigin: true,