Skip to content

fix(web): add cleanUrls to fix /auth/verify 404#164

Merged
github-actions[bot] merged 1 commit into
developfrom
fix/verify-email-404
Mar 16, 2026
Merged

fix(web): add cleanUrls to fix /auth/verify 404#164
github-actions[bot] merged 1 commit into
developfrom
fix/verify-email-404

Conversation

@tomymaritano

@tomymaritano tomymaritano commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds cleanUrls: true to vercel.json
  • Fixes the 404 on /auth/verify (and all other static pages without .html extension)

Root cause

Next.js static export generates auth/verify.html, but without cleanUrls: 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

  • Deploy to Vercel preview
  • Visit /auth/verify — should show "Invalid Link" (no token)
  • Visit /auth/verify?token=test — should show "Opening Readied..."
  • Verify other pages still work (/download, /pricing, /changelog)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated application configuration to enable clean URLs, improving URL structure and formatting across the platform.

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>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot enabled auto-merge (squash) March 16, 2026 15:06
@vercel

vercel Bot commented Mar 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
readide Ready Ready Preview, Comment Mar 16, 2026 3:07pm

Request Review

@coderabbitai

coderabbitai Bot commented Mar 16, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 781b9024-e2fc-4368-8437-2e78cb04b0f9

📥 Commits

Reviewing files that changed from the base of the PR and between 64d7010 and c1afeb5.

📒 Files selected for processing (1)
  • vercel.json

📝 Walkthrough

Walkthrough

A configuration update to vercel.json that introduces the cleanUrls property set to true, alongside the existing framework property. This modifies URL handling behavior in the Vercel deployment configuration.

Changes

Cohort / File(s) Summary
Deployment Configuration
vercel.json
Added cleanUrls: true property to enable URL cleaning in Vercel deployments, while retaining existing framework: null configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding cleanUrls to vercel.json to fix a 404 issue with /auth/verify endpoint.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/verify-email-404
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.

OpenGrep is compatible with Semgrep configurations. Add an opengrep.yml or semgrep.yml configuration file to your project to enable OpenGrep analysis.

@github-actions github-actions Bot merged commit f686ab6 into develop Mar 16, 2026
15 checks passed
tomymaritano added a commit that referenced this pull request Mar 18, 2026
Resolve conflicts keeping tool use features + CodeRabbit fixes.
Incoming from develop: ai-core base (#156), release pipeline (#157), cleanUrls fix (#164).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant