diff --git a/config/environments/production.rb b/config/environments/production.rb index aaad2449f2..2fca4682a6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -108,7 +108,7 @@ Rails.application.configure do 'Server' => 'Mastodon', 'X-Frame-Options' => 'DENY', 'X-Content-Type-Options' => 'nosniff', - 'X-XSS-Protection' => '1; mode=block', + 'X-XSS-Protection' => '0', } config.x.otp_secret = ENV.fetch('OTP_SECRET')