0

rm FLoC-specific header (#1908)

A big thanks to Google engineers for shaping our dystopia
This commit is contained in:
Meisam 2022-05-16 20:04:00 +02:00 committed by GitHub
parent 16e6a71a39
commit b4c798f511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,6 @@ import (
// SetHeaders will set our global headers for web resources.
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
// so we can explicitly add it only when needed.