Disable web-security for phantomjs rendering (#6469)
This commit is contained in:
1 parent
e51525dbde
commit
e73b82d54f
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user