Skip to content

Commit

Permalink
Merge pull request #19 from cardano-foundation/headers
Browse files Browse the repository at this point in the history
Update headers
  • Loading branch information
katomm authored Apr 11, 2024
2 parents 5c9b82c + bec3b48 commit 5916fa5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions _headers

This file was deleted.

2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Activates the browser's built-in cross-site scripting (XSS) filter and blocks responses if an attack is detected.
X-XSS-Protection = "1; mode=block"
# Ensures that only trusted content is executed and styled.
Content-Security-Policy = "default-src 'self';
Content-Security-Policy = "default-src 'self'; script-src 'self' https://cardano.org; img-src 'self' https://cardano.org; style-src 'self' 'unsafe-inline';"
# Enforces secure connections via HTTPS, protecting against certain types of man-in-the-middle attacks.
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
# Controls information provided as the HTTP Referer header when navigating from your site, enhancing privacy and security.
Expand Down

0 comments on commit 5916fa5

Please sign in to comment.