mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:32:19 +08:00
Export: Remove no-store headers in pdf and image previews (#78844)
This commit is contained in:

committed by
GitHub

parent
10cc3321cd
commit
864d91ed3e
@ -89,5 +89,6 @@ func (hs *HTTPServer) RenderToPng(c *contextmodel.ReqContext) {
|
||||
}
|
||||
|
||||
c.Resp.Header().Set("Content-Type", "image/png")
|
||||
c.Resp.Header().Set("Cache-Control", "private")
|
||||
http.ServeFile(c.Resp, c.Req, result.FilePath)
|
||||
}
|
||||
|
Reference in New Issue
Block a user