Skip to content

fix vercel bug#5

Merged
devhiteshk merged 2 commits into
HivarSoft:mainfrom
devhiteshk:main
Jul 19, 2026
Merged

fix vercel bug#5
devhiteshk merged 2 commits into
HivarSoft:mainfrom
devhiteshk:main

Conversation

@devhiteshk

Copy link
Copy Markdown
Contributor

No description provided.

devhiteshk and others added 2 commits July 19, 2026 13:07
Vercel's 'rewrites' only run when a file is found; they don't catch
missing paths. Switching to 'routes' with an explicit catch-all ensures
every path that isn't a static asset is served index.html, fixing 404s
on page refresh for all React Router routes.
@devhiteshk
devhiteshk merged commit c697c79 into HivarSoft:main Jul 19, 2026
0 of 2 checks passed
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.

1 participant