mirror of https://github.com/CIRCL/lookyloo
new: Disable FLoC
parent
e8f765b594
commit
be1ca8d088
|
@ -198,6 +198,8 @@ def after_request(response):
|
||||||
lookyloo.cache_user_agents(ua, real_ip)
|
lookyloo.cache_user_agents(ua, real_ip)
|
||||||
else:
|
else:
|
||||||
lookyloo.cache_user_agents(ua, request.remote_addr)
|
lookyloo.cache_user_agents(ua, request.remote_addr)
|
||||||
|
# Opt out of FLoC
|
||||||
|
response.headers.set('Permissions-Policy', 'interest-cohort=()')
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue