Skip to content

Commit

Permalink
fix(vercel): added vercel config to rewrite paths for spa
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcourtice committed Oct 10, 2020
1 parent d601a8a commit 56ad2e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 2,
"routes": [
{
"handle": "filesystem"
},
{
"src": "/.*",
"dest": "/index.html"
}
]
}

1 comment on commit 56ad2e9

@vercel
Copy link

@vercel vercel bot commented on 56ad2e9 Oct 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.