commit: 2b4f958b2ad653ee8e294ade18aa4482e4d372e1
parent 15f87cf6589b40cc227b78b9d969203983ba6d02
Author: Sean King <seanking2919@protonmail.com>
Date: Sun, 18 Apr 2021 14:00:18 -0600
Add opting out of Google FLoC to HTTPSecurityPlug headers
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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 =