mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
fixed server side rendering
This commit is contained in:
+1
-1
Submodule grafana updated: 8ed9212401...a0c8d3fa6f
+1
-2
@@ -10,9 +10,8 @@ import (
|
||||
)
|
||||
|
||||
func RenderToPng(c *middleware.Context) {
|
||||
accountId := c.AccountId
|
||||
queryReader := util.NewUrlQueryReader(c.Req.URL)
|
||||
queryParams := "?render=1&accountId=" + strconv.FormatInt(accountId, 10) + "&" + c.Req.URL.RawQuery
|
||||
queryParams := "?render=1&userId=" + strconv.FormatInt(c.UserId, 10) + "&" + c.Req.URL.RawQuery
|
||||
|
||||
renderOpts := &renderer.RenderOpts{
|
||||
Url: c.Params("*") + queryParams,
|
||||
|
||||
Reference in New Issue
Block a user