Browse Source

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

Fixes #16034
closed-social-v3
Claire 7 months ago
committed by GitHub
parent
commit
71f335c2fc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/environments/production.rb

+ 1
- 0
config/environments/production.rb 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')

Loading…
Cancel
Save