Browse Source

phantomjs: set web-security to true

bergquist 6 years ago
parent
commit
f7c8d90d1a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pkg/services/rendering/phantomjs.go

+ 2 - 1
pkg/services/rendering/phantomjs.go

@@ -42,7 +42,8 @@ func (rs *RenderingService) renderViaPhantomJS(ctx context.Context, opts Opts) (
 
 	cmdArgs := []string{
 		"--ignore-ssl-errors=true",
-		"--web-security=false",
+		"--web-security=true",
+		"--local-url-access=false",
 		phantomDebugArg,
 		scriptPath,
 		fmt.Sprintf("url=%v", url),