fix(web): add cleanUrls to fix /auth/verify 404#164
Conversation
Static export generates auth/verify.html but Vercel serves /auth/verify as 404 without cleanUrls: true. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA configuration update to Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.OpenGrep is compatible with Semgrep configurations. Add an |
Summary
cleanUrls: truetovercel.json/auth/verify(and all other static pages without.htmlextension)Root cause
Next.js static export generates
auth/verify.html, but withoutcleanUrls: true, Vercel doesn't know to serve it when the URL is/auth/verify(no.html). This affects the magic link email verification flow.Test plan
/auth/verify— should show "Invalid Link" (no token)/auth/verify?token=test— should show "Opening Readied..."/download,/pricing,/changelog)🤖 Generated with Claude Code
Summary by CodeRabbit