Skip to content

Commit 5e78581

Browse files
committed
fix(vercel): Fix invalid route source pattern in rewrites configuration
1 parent fc3db43 commit 5e78581

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

vercel.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"rewrites": [
3-
{
4-
"source": "(?!/proxy)/(.*)",
5-
"destination": "/index.html"
6-
},
73
{
84
"source": "/proxy/github/:path*",
95
"destination": "https://github.com/:path*"
6+
},
7+
{
8+
"source": "/(.*)",
9+
"destination": "/index.html"
1010
}
1111
]
1212
}

0 commit comments

Comments
 (0)