Skip to content

Commit 2a8aa54

Browse files
authored
Merge pull request #678 from codeforpdx/676-vercel-404-routing-fix-updated-route
fixed vercel.json to allow redirects in vercel
2 parents 007d6e6 + fa325f3 commit 2a8aa54

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vercel.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"redirects": [
2+
"rewrites": [
33
{
44
"source": "/(.*)",
5-
"destination": "/index.html",
6-
"permanent": true
5+
"destination": "/"
76
}
87
]
98
}

0 commit comments

Comments
 (0)