Add Permissions-Policy
response header to opt out of Google FLoC
This commit is contained in:
parent
fbf180b9a8
commit
4520425e2b
|
@ -29,6 +29,10 @@ under sub {
|
||||||
# Pass in the expiration for plain-text cookie
|
# Pass in the expiration for plain-text cookie
|
||||||
$c->stash(sessionLife => $sessionLife);
|
$c->stash(sessionLife => $sessionLife);
|
||||||
|
|
||||||
|
# Opt out of Google FLoC
|
||||||
|
# https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
|
||||||
|
$c->res->headers->header('Permissions-Policy', 'interest-cohort=()');
|
||||||
|
|
||||||
1;
|
1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user