phantomjs: set web-security to true
(cherry picked from commit f7c8d90d1a)
This commit is contained in:
@@ -42,7 +42,8 @@ func (rs *RenderingService) renderViaPhantomJS(ctx context.Context, opts Opts) (
|
|||||||
|
|
||||||
cmdArgs := []string{
|
cmdArgs := []string{
|
||||||
"--ignore-ssl-errors=true",
|
"--ignore-ssl-errors=true",
|
||||||
"--web-security=false",
|
"--web-security=true",
|
||||||
|
"--local-url-access=false",
|
||||||
phantomDebugArg,
|
phantomDebugArg,
|
||||||
scriptPath,
|
scriptPath,
|
||||||
fmt.Sprintf("url=%v", url),
|
fmt.Sprintf("url=%v", url),
|
||||||
|
|||||||
Reference in New Issue
Block a user