SkateSpots/netlify.toml
shakespeare.diy 4214845d78 chore: add netlify.toml with build config, cache headers, and SPA redirect
Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-06-16 19:56:22 +07:00

20 lines
405 B
TOML

[build]
command = "npm run build"
publish = "dist"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200