An open-source, faster Devin alternative
TypeScript
fix(web): scope dev proxy to /api/ so the /api-keys route isn't proxied
Igor Zalutski570b70ba8754
diff --git a/web/vite.config.ts b/web/vite.config.tsindex bd672131..c2a041ce 100644--- a/web/vite.config.ts+++ b/web/vite.config.ts@@ -17,7 +17,9 @@ export default defineConfig({port: 3000,proxy: {'/auth': target,- '/api': { target, ws: true },+ // Trailing slash so the SPA route `/api-keys` isn't proxied to the+ // backend; all real API paths live under `/api/dashboard/`.+ '/api/': { target, ws: true },'/webhooks': target,},},