Sfoglia il codice sorgente

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

Fixes #16034
Claire 3 anni fa
parent
commit
71f335c2fc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      config/environments/production.rb

+ 1 - 0
config/environments/production.rb

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