Skip to content

Commit

Permalink
update csp and cache-control
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed May 8, 2024
1 parent 88391da commit eef4f3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "default-src 'self'"
Cache-Control = "public, max-age=0, must-revalidate"
Strict-Transport-Security = "max-age=31536000"
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:"
Cache-Control = "public, max-age=31536000, must-revalidate"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"

[[headers]]
for = "*.html"
Expand Down

0 comments on commit eef4f3f

Please sign in to comment.