diff options
author | Sean King <seanking2919@protonmail.com> | 2021-04-18 14:00:18 -0600 |
---|---|---|
committer | Sean King <seanking2919@protonmail.com> | 2021-04-18 14:00:18 -0600 |
commit | 2b4f958b2ad653ee8e294ade18aa4482e4d372e1 (patch) | |
tree | cf0bdb33385a7f60ade4c27119444763b2552071 | |
parent | 15f87cf6589b40cc227b78b9d969203983ba6d02 (diff) | |
download | pleroma-2b4f958b2ad653ee8e294ade18aa4482e4d372e1.tar.gz |
Add opting out of Google FLoC to HTTPSecurityPlug headers
-rw-r--r-- | lib/pleroma/web/plugs/http_security_plug.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex index 0025b042a..d1e6cc9d3 100644 --- a/lib/pleroma/web/plugs/http_security_plug.ex +++ b/lib/pleroma/web/plugs/http_security_plug.ex @@ -48,7 +48,8 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlug do {"x-content-type-options", "nosniff"}, {"referrer-policy", referrer_policy}, {"x-download-options", "noopen"}, - {"content-security-policy", csp_string()} + {"content-security-policy", csp_string()}, + {"permissions-policy", "interest-cohort=()"} ] headers = |