Removed debug bypass logic

This commit is contained in:
Toby Chui
2025-11-28 07:23:22 +08:00
parent 03066e7f31
commit 4a5d4bbbf8

View File

@@ -371,7 +371,7 @@ func (router *Router) logRequest(r *http.Request, succ bool, statusCode int, for
return return
} }
if endpoint != nil && !endpoint.DisableStatisticCollection { if endpoint != nil && endpoint.DisableStatisticCollection {
// Endpoint level statistic collection disabled // Endpoint level statistic collection disabled
return return
} }