🐛 fix(web): default API_BASE to /api/v1 when NEXT_PUBLIC is empty in …#34
🐛 fix(web): default API_BASE to /api/v1 when NEXT_PUBLIC is empty in …#34
Conversation
…prod Avoid axios hitting /setup/status on the frontend origin; document split-domain rebuild. Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe API base URL handling in the web application was updated to intelligently validate environment variables and apply environment-dependent defaults. Production deployments now default to relative path Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…prod
Avoid axios hitting /setup/status on the frontend origin; document split-domain rebuild.
Made-with: Cursor
Summary
Type of change
Related issue
Closes #
Changes
How to test
Screenshots (if applicable)
Checklist
./lyra lintand there are no type errorsfeat:,fix:, etc.)Summary by CodeRabbit