mirror of
https://github.com/owncast/owncast.git
synced 2024-10-25 05:56:00 +03:00
9 lines
224 B
Go
9 lines
224 B
Go
|
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=()")
|
||
|
}
|