douyin/netlify.toml
2024-04-03 22:46:52 +08:00

36 lines
746 B
TOML

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.png"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.jpg"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.webp"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"
[[headers]]
for = "/*.svg"
[headers.values]
Cache-Control = "public, max-age=31536000, must-revalidate"