Disable web-security for phantomjs rendering (#6469)

This commit is contained in:
jifwin 2016-12-06 08:37:36 +01:00 committed by Torkel Ödegaard
parent e51525dbde
commit e73b82d54f

View File

@ -52,6 +52,7 @@ func RenderToPng(params *RenderOpts) (string, error) {
cmdArgs := []string{
"--ignore-ssl-errors=true",
"--web-security=false",
scriptPath,
"url=" + url,
"width=" + params.Width,