Skip to content

Commit

Permalink
Add Permissions-Policy HTTP header
Browse files Browse the repository at this point in the history
Signed-off-by: Jonah Aragon <[email protected]>
  • Loading branch information
jonaharagon authored Feb 18, 2024
1 parent 3f0ba17 commit c391ca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
Content-Security-Policy = "default-src 'none'; script-src https://www.privacyguides.org 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src data: 'self'; connect-src https://api.github.com https://*.privacyguides.net 'self'; frame-src https://*.privacyguides.net; frame-ancestors 'none'"
Permissions-Policy = "browsing-topics=(), conversion-measurement=(), interest-cohort=(), accelerometer=(), ambient-light-sensor=(), battery=(), camera=(), display-capture=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), usb=()"

[[headers]]
for = "/:lang/about/donate/"
Expand Down

0 comments on commit c391ca1

Please sign in to comment.