Browse Source

rm FLoC-specific header (#1908)

A big thanks to Google engineers for shaping our dystopia
pull/1909/head
Meisam 4 years ago committed by GitHub
parent
commit
b4c798f511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      router/middleware/headers.go

2
router/middleware/headers.go

@ -9,8 +9,6 @@ import ( @@ -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.

Loading…
Cancel
Save