mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Macaron: remove custom Request type (#37874)
* remove macaron.Request, use http.Request instead * remove com dependency from bindings module * fix another c.Req.Request
This commit is contained in:
@@ -44,6 +44,6 @@ func ProxyGnetRequest(c *models.ReqContext) {
|
||||
proxyPath := c.Params("*")
|
||||
proxy := ReverseProxyGnetReq(proxyPath)
|
||||
proxy.Transport = grafanaComProxyTransport
|
||||
proxy.ServeHTTP(c.Resp, c.Req.Request)
|
||||
proxy.ServeHTTP(c.Resp, c.Req)
|
||||
c.Resp.Header().Del("Set-Cookie")
|
||||
}
|
||||
|
Reference in New Issue
Block a user