From b3bb0a3b7833deceff71cfe1687ac36cec12a6e8 Mon Sep 17 00:00:00 2001 From: Pablo Brasero <36066+pablobm@users.noreply.github.com> Date: Tue, 8 Jun 2021 10:42:26 +0100 Subject: [PATCH] Opt-out of FLoC: https://amifloced.org/ (#1996) --- spec/example_app/config/application.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/example_app/config/application.rb b/spec/example_app/config/application.rb index b3590d2456..fdb72bc28d 100644 --- a/spec/example_app/config/application.rb +++ b/spec/example_app/config/application.rb @@ -34,5 +34,9 @@ class Application < Rails::Application if Rails::VERSION::MAJOR >= 5 config.active_record.time_zone_aware_types = %i(datetime time) end + + # Opt-out of FLoC: https://amifloced.org/ + config.action_dispatch. + default_headers["Permissions-Policy"] = "interest-cohort=()" end end