-
Notifications
You must be signed in to change notification settings - Fork 613
[Playground] Use production API URL #8307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Playground] Use production API URL #8307
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Caution Review failedThe pull request is closed. WalkthroughThe API endpoint configuration in the paywall route has been updated from a hardcoded localhost HTTP URL to a dynamic HTTPS URL that reads from an environment variable, defaulting to the production API domain. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8307 +/- ##
==========================================
+ Coverage 54.87% 54.90% +0.02%
==========================================
Files 919 919
Lines 60707 60675 -32
Branches 4127 4126 -1
==========================================
Hits 33315 33315
+ Misses 27290 27259 -31
+ Partials 102 101 -1
🚀 New features to boost your workflow:
|
size-limit report 📦
|

PR-Codex overview
This PR updates the
API_URLconstant in theroute.tsfile to use a secure HTTPS URL instead of a local HTTP URL, enhancing the security of API calls.Detailed summary
API_URLfrom"http://localhost:3030"tohttps://${process.env.NEXT_PUBLIC_API_URL || "api.thirdweb.com"}.Summary by CodeRabbit