feat: Do not send metrics if the client used DNT or GPC
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -36,6 +36,8 @@ type Context struct {
|
||||
// HTTP Stuff
|
||||
Referrer string
|
||||
UserAgent string
|
||||
DNT string
|
||||
GPC string
|
||||
Writer http.ResponseWriter
|
||||
|
||||
// Pointer to the global context
|
||||
|
||||
Reference in New Issue
Block a user