Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security header fix #26

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'; script-src 'self' https://cardano.org https://new-cardano-org-staging.netlify.app https://www.googletagmanager.com; img-src 'self' https://cardano.org https://new-cardano-org-staging.netlify.app data: https://*.ytimg.com; style-src 'self'; frame-src 'self' https://www.youtube.com; media-src 'self' https://www.youtube.com"
Content-Security-Policy = "default-src 'self'; script-src 'self' https://cardano.org https://new-cardano-org-staging.netlify.app https://www.googletagmanager.com; img-src 'self' https://cardano.org https://new-cardano-org-staging.netlify.app data: https://*.ytimg.com; style-src 'self' 'unsafe-inline'; frame-src 'self' https://www.youtube.com; media-src 'self' https://www.youtube.com"
# 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