解决vercel刷新404问题

This commit is contained in:
宇阳
2024-10-17 16:43:44 +08:00
parent 3fcd17fbff
commit 10baa78749
2 changed files with 9 additions and 0 deletions

1
public/_redirects Normal file
View File

@@ -0,0 +1 @@
/* /index.html 200

8
vercel.json Normal file
View File

@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/:path*",
"destination": "/index.html"
}
]
}