fix: replace NEXT_PUBLIC_API_URL with Next.js Route Handler proxy for runtime backend URL

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
Agent-Logs-Url: https://github.com/christianlouis/pop_puller_to_gmail/sessions/59e2f604-9ad3-46ef-8670-fd6b3b7c14b2
This commit is contained in:
copilot-swe-agent[bot]
2026-03-24 01:16:01 +00:00
parent 82b221e4ff
commit 76bf0b3f0c
5 changed files with 47 additions and 5 deletions
+1
View File
@@ -98,6 +98,7 @@ Comprehensive task breakdown for repository improvements and production readines
- [x] Remove CodeQL checks from CI (was blocking builds)
- [x] Upgrade SQLAlchemy to 2.0.48 to fix Python 3.14 test failures
- [x] Fix Docker build failure: wrap `useSearchParams()` in Suspense boundary in `/auth/callback` page
- [x] Fix frontend API URL hardcoded to `localhost:8000` in production: replaced build-time `NEXT_PUBLIC_API_URL` with a runtime Next.js Route Handler proxy (`/api/v1/[...path]`) reading `BACKEND_URL` at server startup
### In Progress 🔨
- [ ] Configure branch protection rules