From: Claire Date: Tue, 13 Apr 2021 21:43:41 +0000 (+0200) Subject: Add HTTP header to explicitly opt out of FLoC by default (#16036) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=71f335c2fcac974af4672cb521751ba6cdee06a6;p=mastodon.git Add HTTP header to explicitly opt out of FLoC by default (#16036) Fixes #16034 --- diff --git a/config/environments/production.rb b/config/environments/production.rb index 6df0a3365..22be14749 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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')