Merge pull request #48 from chansee97/master
fix: vercel&netlify refresh error
This commit is contained in:
commit
1adaefbcbb
10
netlify.toml
10
netlify.toml
@ -1,4 +1,9 @@
|
||||
[[headers]]
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
|
||||
[[headers]]
|
||||
for = "/*.js"
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=31536000, must-revalidate"
|
||||
@ -26,4 +31,5 @@
|
||||
[[headers]]
|
||||
for = "/*.svg"
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=31536000, must-revalidate"
|
||||
Cache-Control = "public, max-age=31536000, must-revalidate"
|
||||
|
||||
|
||||
8
vercel.json
Normal file
8
vercel.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/:path*",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user