mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
live: disable gzip for ws endpoints (#34015)
This commit is contained in:
parent
167bad070b
commit
765fa675f5
@ -14,7 +14,8 @@ var gzipIgnoredPathPrefixes = []string{
|
|||||||
"/api/datasources/proxy", // Ignore datasource proxy requests.
|
"/api/datasources/proxy", // Ignore datasource proxy requests.
|
||||||
"/api/plugin-proxy/",
|
"/api/plugin-proxy/",
|
||||||
"/metrics",
|
"/metrics",
|
||||||
"/live/ws", // WebSocket does not support gzip compression.
|
"/api/live/ws", // WebSocket does not support gzip compression.
|
||||||
|
"/api/live/push", // WebSocket does not support gzip compression.
|
||||||
}
|
}
|
||||||
|
|
||||||
func Gziper() macaron.Handler {
|
func Gziper() macaron.Handler {
|
||||||
|
Loading…
Reference in New Issue
Block a user