update netlify.toml (headers)
This commit is contained in:
parent
c2e819acf3
commit
01857e939f
1 changed files with 13 additions and 2 deletions
15
netlify.toml
15
netlify.toml
|
@ -6,7 +6,18 @@
|
|||
for = "/*"
|
||||
[headers.values]
|
||||
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
|
||||
Cache-Control = "public, max-age=31536000"
|
||||
Referrer-Policy = "strict-origin-when-cross-origin"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
X-Frame-Options = "DENY"
|
||||
X-XSS-Protection = "1; mode=block"
|
||||
Referrer-Policy = "no-referrer"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
# Referrer-Policy = "no-referrer"
|
||||
Access-Control-Allow-Origin = "*"
|
||||
Vary = "Accept-Encoding"
|
||||
Access-Control-Allow-Credentials = "true"
|
||||
Feature-Policy = "geolocation 'self' https://mademistakes.com; autoplay 'none'; lazyload 'self' https://mademistakes.com; sync-xhr 'self' https://mademistakes.com"
|
||||
|
||||
[[headers]]
|
||||
for = "/assets/*"
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=31536000"
|
||||
|
|
Loading…
Reference in a new issue