2 changed files with 11 additions and 0 deletions
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
package middleware |
||||
|
||||
import "net/http" |
||||
|
||||
// DisableFloc will tell Google to not use this response in their FLoC tracking.
|
||||
func DisableFloc(w http.ResponseWriter) { |
||||
w.Header().Set("Permissions-Policy", "interest-cohort=()") |
||||
} |
Loading…
Reference in new issue