Serve production domains from Cloudflare Workers - #200
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Cloudflare Worker now serves ChangesCloudflare routing
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to The production domains route through the Cloudflare Worker while apex requests continue redirecting to www. The deployment configuration and migration documentation are aligned, with no remaining merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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 |
PR Review: Serve production domains from Cloudflare WorkersI reviewed the full diff ( Verdict: Approve — clean, minimal infra cutover with no code-quality issuesWhat checks out
Minor observations (non-blocking)
No bugs found. The change is the smallest possible correct expression of the cutover, and the risk-bearing pieces (redirect, tests, rollback path) were already in place. |

Route runesswap.app and www.runesswap.app directly to the existing Cloudflare Worker. The apex keeps its 308 redirect to www, preserving paths and query strings. Record both custom domains in Wrangler so future deployments retain the production routing.
Hostinger nameservers now delegate to the active Cloudflare zone. DNS and custom domains have been applied; the www hostname serves the TanStack app over HTTPS. Vercel remains available for rollback and must not be deleted until owner verification.
Validation: local structured review passed; pre-push ai-check passed (208 tests, lint, types, unused-code checks, and production build). Production smoke checks verify pages, static assets, live prices, rune information, and charts. Deployment and rollback details are recorded in docs/cloudflare-migration.md.
Summary by CodeRabbit
New Features
runesswap.appandwww.runesswap.app.Documentation