Added proxy configuration to forward /api requests to backend on localhost:8080 during development. Benefits: - Eliminates CORS errors in dev (requests are same-origin) - No need for CORS_ALLOWED_ORIGINS in dev environment - Matches production behavior (frontend and API on same domain) - Simplifies local development setup Configuration: - Target: http://localhost:8080 - changeOrigin: true (modifies Host header) - secure: false (allows self-signed certs in dev) Impact: Dev environment more stable, no CORS configuration needed. Fixes: P2.1 from audit AUDIT_TEMP_29_01_2026.md |
||
|---|---|---|
| .. | ||
| web | ||