mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 16:12:14 +08: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:
@ -312,7 +312,7 @@ func (hs *HTTPServer) GetPluginAssets(c *models.ReqContext) {
|
||||
c.Resp.Header().Set("Cache-Control", "public, max-age=3600")
|
||||
}
|
||||
|
||||
http.ServeContent(c.Resp, c.Req.Request, pluginFilePath, fi.ModTime(), f)
|
||||
http.ServeContent(c.Resp, c.Req, pluginFilePath, fi.ModTime(), f)
|
||||
}
|
||||
|
||||
// CheckHealth returns the health of a plugin.
|
||||
|
Reference in New Issue
Block a user