feat: Do not send metrics if the client used DNT or GPC
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
PapaTutuWawa committed 2024-02-09 21:02:17 +01:00
1 parent 617b68f43e
commit b2a27cad72
5 files changed
+23 -5

No files matched your search

+2
View File
@@ -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