From fca6e3a722aee381208a37e9e135c0f41cd0b9bb Mon Sep 17 00:00:00 2001 From: Atharv1705 Date: Fri, 27 Nov 2026 15:40:46 +0530 Subject: [PATCH] fix(vite): Proxy API requests to backend on port 8001 to prevent port collision --- frontend/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 3fd562f..d1685fb 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -13,7 +13,7 @@ export default defineConfig({ port: 5173, proxy: { '/api': { - target: 'http://127.0.0.1:8000', + target: 'http://127.0.0.1:8001', changeOrigin: true, }, },