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

Fixes #16034
This commit is contained in:
Claire 2021-04-13 23:43:41 +02:00 committed by GitHub
parent a13ac60bc9
commit 8bb856c1ef

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')