Add Permissions-Policy
response header to opt out of Google FLoC
This commit is contained in:
parent
963b7e74f3
commit
d6dc6b7d61
|
@ -13,6 +13,10 @@ get '/' => sub {
|
||||||
else {
|
else {
|
||||||
$c->redirect_to("$scheme://www.wethepeople.win")
|
$c->redirect_to("$scheme://www.wethepeople.win")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# 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=()');
|
||||||
} => 'index';
|
} => 'index';
|
||||||
|
|
||||||
app->start();
|
app->start();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user