mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 03:11:01 -06:00
Disable web-security for phantomjs rendering (#6469)
This commit is contained in:
parent
e51525dbde
commit
e73b82d54f
@ -52,6 +52,7 @@ func RenderToPng(params *RenderOpts) (string, error) {
|
|||||||
|
|
||||||
cmdArgs := []string{
|
cmdArgs := []string{
|
||||||
"--ignore-ssl-errors=true",
|
"--ignore-ssl-errors=true",
|
||||||
|
"--web-security=false",
|
||||||
scriptPath,
|
scriptPath,
|
||||||
"url=" + url,
|
"url=" + url,
|
||||||
"width=" + params.Width,
|
"width=" + params.Width,
|
||||||
|
Loading…
Reference in New Issue
Block a user