Browse Source

Merge pull request #48 from chansee97/master

fix: vercel&netlify refresh error
pull/49/head
Zyronon 1 year ago committed by GitHub
parent
commit
1adaefbcbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      netlify.toml
  2. 8
      vercel.json

6
netlify.toml

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*.js"
[headers.values]
@ -27,3 +32,4 @@ @@ -27,3 +32,4 @@
for = "/*.svg"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"

8
vercel.json

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