Add opting out of Google FLoC to HTTPSecurityPlug headers
authorSean King <seanking2919@protonmail.com>
Sun, 18 Apr 2021 20:00:18 +0000 (14:00 -0600)
committerSean King <seanking2919@protonmail.com>
Sun, 18 Apr 2021 20:00:18 +0000 (14:00 -0600)
lib/pleroma/web/plugs/http_security_plug.ex

index 0025b042a455e0c99e4965fe5997f09d6339cdd7..d1e6cc9d3f03f00c7f19dc475345714641711812 100644 (file)
@@ -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 =