Export: Remove no-store headers in pdf and image previews (#78844)

This commit is contained in:
Ezequiel Victorero authored and GitHub committed 2023-12-18 09:21:57 -03:00
1 parent 10cc3321cd
commit 864d91ed3e
3 files changed
+20 -1

No files matched your search

+1
View File
@@ -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)
}