Skip to content

Commit 49fdf84

Browse files
committed
fix(png rendering): removed --ssl-protocol=any phantomjs param
1 parent 87f6d7d commit 49fdf84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/components/renderer/renderer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func RenderToPng(params *RenderOpts) (string, error) {
2626
pngPath, _ := filepath.Abs(filepath.Join(setting.ImagesDir, util.GetRandomString(20)))
2727
pngPath = pngPath + ".png"
2828

29-
cmd := exec.Command(binPath, "--ignore-ssl-errors=true", "--ssl-protocol=any", scriptPath, "url="+params.Url, "width="+params.Width,
29+
cmd := exec.Command(binPath, "--ignore-ssl-errors=true", scriptPath, "url="+params.Url, "width="+params.Width,
3030
"height="+params.Height, "png="+pngPath, "cookiename="+setting.SessionOptions.CookieName,
3131
"domain="+setting.Domain, "sessionid="+params.SessionId)
3232
stdout, err := cmd.StdoutPipe()

0 commit comments

Comments
 (0)