Browse Source

fix: vercel&netlify refresh error

pull/48/head
Rock Chen 1 year ago committed by GitHub
parent
commit
78190523d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      netlify.toml
  2. 8
      vercel.json

4
netlify.toml

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

8
vercel.json

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