[Bug] Hardcoded http://localhost:8000 bypasses Nginx reverse proxy #4
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
LoginView.tsxandCallbackView.tsxcontain hardcoded calls tohttp://localhost:8000/api/v1/auth/session.In
docker-compose.prod.yaml, thebackendservice does not expose port8000to the host machine—onlyfrontendis mapped (8080:80).Impact
Browser requests to
http://localhost:8000fail withERR_CONNECTION_REFUSED.Expected Behavior
Frontend API calls should use relative
/api/...paths or readimport.meta.env.VITE_API_URL || ''so that Nginx reverse-proxies/api/directly tohttp://backend:8000/api/.