1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-30 04:14:36 +00:00

Add HTTP header to explicitly opt out of FLoC by default ()

Fixes 
This commit is contained in:
Claire 2021-04-13 23:43:41 +02:00 committed by GitHub
parent bb68a9570e
commit 71f335c2fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,6 +116,7 @@ Rails.application.configure do
'X-Frame-Options' => 'DENY',
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '1; mode=block',
'Permissions-Policy' => 'interest-cohort=()',
}
config.x.otp_secret = ENV.fetch('OTP_SECRET')