From: Sean King Date: Sun, 18 Apr 2021 20:00:18 +0000 (-0600) Subject: Add opting out of Google FLoC to HTTPSecurityPlug headers X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2b4f958b2ad653ee8e294ade18aa4482e4d372e1;p=akkoma Add opting out of Google FLoC to HTTPSecurityPlug headers --- 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 =