Skip to content

Commit 401bc72

Browse files
authored
Update netllify.toml
1 parent 2cc52d4 commit 401bc72

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

netllify.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,18 @@
2020
X-Frame-Options = "DENY"
2121
X-Content-Type-Options = "nosniff"
2222
Referrer-Policy = "strict-origin-when-cross-origin"
23-
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' https://github.com; style-src 'self' 'unsafe-inline'; connect-src 'self' wss://webxos.netlify.app https://api.github.com; img-src 'self';"
23+
Content-Security-Policy = "default-src 'self'; script-src 'self' 'nonce-{{nonce}}' https://github.com; style-src 'self' 'unsafe-inline'; connect-src 'self' wss://webxos.netlify.app https://api.github.com; img-src 'self';"
24+
Cache-Control = "no-cache, no-store, must-revalidate"
25+
26+
[[headers]]
27+
for = "/css/*"
28+
[headers.values]
29+
Cache-Control = "public, max-age=31536000, immutable"
30+
31+
[[headers]]
32+
for = "/js/*.js"
33+
[headers.values]
34+
Cache-Control = "public, max-age=31536000, immutable"
2435

2536
[[redirects]]
2637
from = "/mcp/*"

0 commit comments

Comments
 (0)