fix: vercel&netlify refresh error

This commit is contained in:
Rock Chen 2024-04-03 22:26:06 +08:00 committed by GitHub
parent 3bc2932998
commit 78190523d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

4
netlify.toml Normal file
View File

@ -0,0 +1,4 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

8
vercel.json Normal file
View File

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