mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 21:20:23 +03:00
Revert "deprecate embedded browser (#12163)"
This reverts commit 736d8cbac4.
Bring contrib files for older contributions
This commit is contained in:
@@ -384,7 +384,7 @@ func gatewayHandleEnvVars() {
|
||||
|
||||
// shouldMeterRequest checks whether incoming request should be added to prometheus gateway metrics
|
||||
func shouldMeterRequest(req *http.Request) bool {
|
||||
return !(guessIsHealthCheckReq(req) || guessIsMetricsReq(req))
|
||||
return !(guessIsBrowserReq(req) || guessIsHealthCheckReq(req) || guessIsMetricsReq(req))
|
||||
}
|
||||
|
||||
// MetricsTransport is a custom wrapper around Transport to track metrics
|
||||
|
||||
Reference in New Issue
Block a user