Skip to content
Snippets Groups Projects
Commit 88f7c11a authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add netlify config

parent 9abd4664
No related branches found
No related tags found
No related merge requests found
[build]
command = "bun run build"
publish = "dist"
# Handle React Router
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
# Security headers
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; connect-src 'self' https:;"
# Cache control for static assets
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
\ No newline at end of file
/* /index.html 200
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment