Files
basil/packages
Paul R Kartchner 1d20d75069
Some checks failed
CI Pipeline / Lint Code (push) Has been cancelled
CI Pipeline / Test API Package (push) Has been cancelled
CI Pipeline / Test Web Package (push) Has been cancelled
CI Pipeline / Test Shared Package (push) Has been cancelled
CI Pipeline / Build All Packages (push) Has been cancelled
CI Pipeline / Generate Coverage Report (push) Has been cancelled
Docker Build & Deploy / Build Docker Images (push) Has been cancelled
Docker Build & Deploy / Push Docker Images (push) Has been cancelled
Docker Build & Deploy / Deploy to Staging (push) Has been cancelled
Docker Build & Deploy / Deploy to Production (push) Has been cancelled
E2E Tests / End-to-End Tests (push) Has been cancelled
E2E Tests / E2E Tests (Mobile) (push) Has been cancelled
Security Scanning / NPM Audit (push) Has been cancelled
Security Scanning / Dependency License Check (push) Has been cancelled
Security Scanning / Code Quality Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
fix: use relative URLs for API endpoints in production
Changed auth service to use relative URLs (empty API_URL prefix) when
VITE_API_URL is not set. This allows nginx to properly proxy requests
in production deployments where the frontend and API are served from
the same domain.

Previously, the Google OAuth redirect would try to connect to
localhost:3001 which is not accessible from the browser. Now it uses
/api/auth/google which nginx proxies to the API container.

This fix enables proper authentication flow in production while
maintaining development functionality with explicit VITE_API_URL.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 15:26:34 +00:00
..