winx_prinx-api / netlify.toml
Sasha
refactor: modularize client App.jsx tab components and update Netlify CSP
fdc7871
Raw
History Blame Contribute Delete
732 Bytes
[build]
base = "client"
command = "npm run build"
publish = "dist"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; font-src 'self'; img-src 'self' data: https://* http://localhost:*; connect-src 'self' https://*.hf.space https://*.onrender.com https://* http://localhost:* ws://localhost:* wss://*; frame-ancestors 'none';"
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
Permissions-Policy = "geolocation=(), camera=(), microphone=()"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"