feat: log BACKEND_URL at frontend startup and include target URL in proxy errors

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
Agent-Logs-Url: https://github.com/christianlouis/pop_puller_to_gmail/sessions/131238a2-437c-4a85-b98b-fcb3d80e69e0
This commit is contained in:
copilot-swe-agent[bot]
2026-03-24 01:51:50 +00:00
parent 2cd0b0c6a7
commit 88b7afb195
4 changed files with 7 additions and 1 deletions
+1
View File
@@ -99,6 +99,7 @@ Comprehensive task breakdown for repository improvements and production readines
- [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
- [x] Log `BACKEND_URL` at frontend server startup and include target URL in per-request proxy error messages
### In Progress 🔨
- [ ] Configure branch protection rules