Made it it compile again

This commit is contained in:
Torkel Ödegaard
2014-11-20 09:16:28 +01:00
parent 41fb2b4cc4
commit 9b68911d00
4 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -28,5 +28,5 @@ func RenderToPng(c *middleware.Context) {
}
c.Resp.Header().Set("Content-Type", "image/png")
http.ServeFile(c.Resp, c.Req, pngPath)
http.ServeFile(c.Resp, c.Req.Request, pngPath)
}