From f7c8d90d1af87f5d9f6c8f14503b5125c3667629 Mon Sep 17 00:00:00 2001 From: bergquist Date: Mon, 29 Apr 2019 14:37:52 +0200 Subject: [PATCH] phantomjs: set web-security to true --- pkg/services/rendering/phantomjs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/services/rendering/phantomjs.go b/pkg/services/rendering/phantomjs.go index 29c2f39fd77..35389fe7918 100644 --- a/pkg/services/rendering/phantomjs.go +++ b/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),