We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b579f98 commit 4e2a0cbCopy full SHA for 4e2a0cb
index/server/pkg/server/index.go
@@ -171,8 +171,8 @@ func ociServerProxy(c *gin.Context) {
171
proxy := httputil.NewSingleHostReverseProxy(remote)
172
173
// Set up the request to the proxy
174
- // Track event for telemetry
175
- if enableTelemetry {
+ // Track event for telemetry for GET requests only
+ if enableTelemetry && c.Request.Method == http.MethodGet {
176
proxyPath := c.Param("proxyPath")
177
if proxyPath != "" {
178
var name string
0 commit comments