mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
fix(gzip): add plugin proxy to gzip exclusion, fixes #5237
This commit is contained in:
parent
38790e2c4b
commit
1283461b89
@ -17,6 +17,10 @@ func Gziper() macaron.Handler {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if strings.HasPrefix(requestPath, "/api/plugin-proxy/") {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
ctx.Invoke(macaronGziper)
|
ctx.Invoke(macaronGziper)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user