Skip to content

Commit

Permalink
Opt-out of FLoC: https://amifloced.org/ (#1996)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobm authored Jun 8, 2021
1 parent d82bf26 commit b3bb0a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/example_app/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b3bb0a3

Please sign in to comment.