From a06436baac8a6772acf832edb66ec56cbc267c6f Mon Sep 17 00:00:00 2001 From: fahed Date: Tue, 31 Mar 2026 16:58:41 +0300 Subject: [PATCH] fix: change NocoDB proxy from /api to /api/v2 to avoid route collision The catch-all /api proxy was swallowing /api/seasons requests before the specific proxy rule could match. Narrowing to /api/v2 fixes this since all NocoDB REST calls use /api/v2/ paths. Co-Authored-By: Claude Opus 4.6 (1M context) --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index e26362e..36744a6 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -18,7 +18,7 @@ export default defineConfig({ target: 'http://localhost:3002', changeOrigin: true, }, - '/api': { + '/api/v2': { target: 'http://localhost:8090', changeOrigin: true, },