phantomjs: set web-security to true

(cherry picked from commit f7c8d90d1a)
This commit is contained in:
bergquist
2019-05-02 13:16:34 +02:00
parent 653918056c
commit e69aead0fe
+2 -1
View File
@@ -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),