mirror of https://github.com/grafana/grafana
Prometheus: fix proxy check (#54823)
The original check has been added ~3 years ago and since then a new variable has been added that says whether the mode is browser or proxied. Start using the new variable in this function so that proxy mode could be properly detected. It's important to us to get these headers and this check is currently broken for HTTP/HTTPS URLs. Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com> Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>pull/56050/head^2
parent
5bd65db8a8
commit
e8ac52ba0f
Loading…
Reference in new issue