Skip to content

Commit

Permalink
add vercel.json config file, force all paths to load /index.html for …
Browse files Browse the repository at this point in the history
…single-page app mode with routerMode:history
  • Loading branch information
trusktr committed Jan 23, 2023
1 parent bcd8c25 commit 025a89f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}

0 comments on commit 025a89f

Please sign in to comment.