Skip to content

Commit 1c890c2

Browse files
committed
fix: 根目录 404 问题
1 parent e90af82 commit 1c890c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vercel.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"rewrites": [
33
{ "source": "/proxy/:match/:url*", "destination": "https://:match/:url*" },
4-
{ "source": "/httpproxy/:match/:url*", "destination": "http://:match/:url*" }
4+
{ "source": "/proxy/:match/:url*/", "destination": "https://:match/:url*/" },
5+
{ "source": "/httpproxy/:match/:url*", "destination": "http://:match/:url*" },
6+
{ "source": "/httpproxy/:match/:url*/", "destination": "http://:match/:url*/" }
57
]
68
}

0 commit comments

Comments
 (0)