Skip to content

Add vercel.json SPA rewrite for /callback and client routes - #1

Closed
mattvagni wants to merge 1 commit into
mainfrom
mattvagni/add-vercel-spa-rewrite-bcaf
Closed

mattvagni wants to merge 1 commit into
mainfrom
mattvagni/add-vercel-spa-rewrite-bcaf

Conversation

@mattvagni

Copy link
Copy Markdown
Member

Summary

  • Adds vercel.json with a catch-all rewrite to index.html so client-side routes work on direct load.
  • Fixes OAuth login redirect to /callback (and deep links like /threads/...) returning 404 on Vercel.

This matches the deploy guidance already documented in the README.

Open in Web Open in Cursor 

Serve index.html for all paths so OAuth /callback and deep links like
/threads/... work when loaded directly on Vercel.

Co-authored-by: Mathias Vagni <mattvagni@users.noreply.github.com>
@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
example-headless-support-app Ready Ready Preview Oct 26, 2026 5:31pm UTC

Request Review

@mattvagni mattvagni closed this Oct 26, 2026
@cursor
cursor Bot deleted the mattvagni/add-vercel-spa-rewrite-bcaf branch October 26, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants