rm FLoC-specific header (#1908)
A big thanks to Google engineers for shaping our dystopia
This commit is contained in:
parent
16e6a71a39
commit
b4c798f511
@ -9,8 +9,6 @@ import (
|
|||||||
|
|
||||||
// SetHeaders will set our global headers for web resources.
|
// SetHeaders will set our global headers for web resources.
|
||||||
func SetHeaders(w http.ResponseWriter) {
|
func SetHeaders(w http.ResponseWriter) {
|
||||||
// Tell Google to not use this response in their FLoC tracking.
|
|
||||||
w.Header().Set("Permissions-Policy", "interest-cohort=()")
|
|
||||||
|
|
||||||
// When running automated browser tests we must allow `unsafe-eval` in our CSP
|
// When running automated browser tests we must allow `unsafe-eval` in our CSP
|
||||||
// so we can explicitly add it only when needed.
|
// so we can explicitly add it only when needed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user