- commit
- c4168ba
- parent
- a9e65d5
- author
- Eric Bower
- date
- 2024-11-29 16:28:16 +0000 UTC
chore(auth): ignore usage analytics for everything but text/html
1 files changed,
+1,
-1
+1,
-1
1@@ -766,7 +766,7 @@ func metricDrainSub(ctx context.Context, dbpool db.DB, logger *slog.Logger, secr
2 continue
3 }
4
5- if visit.ContentType != "" && !strings.HasPrefix(visit.ContentType, "text/html") {
6+ if !strings.HasPrefix(visit.ContentType, "text/html") {
7 logger.Info("invalid content type", "contentType", visit.ContentType)
8 continue
9 }