From 983b2b4a81d86fb2538b30898a0d358249a0561d Mon Sep 17 00:00:00 2001 From: Morten Mikalsen Date: Fri, 29 Sep 2023 09:11:33 +0200 Subject: [PATCH] Adds google storage csp --- src/csp.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/csp.ts b/src/csp.ts index 285c62d9f..8509df860 100644 --- a/src/csp.ts +++ b/src/csp.ts @@ -14,6 +14,7 @@ const vimeoCdn = '*.vimeocdn.com'; // used for video preview images const hotjarCom = '*.hotjar.com'; const hotjarIo = '*.hotjar.io'; const taskAnalytics = '*.taskanalytics.com'; +const googleStorage = 'https://storage.googleapis.com'; const styleSrc = [ navNo, @@ -51,7 +52,7 @@ const directives: Partial = { cdnNavNo, DATA, // ds-css ], - 'img-src': [navNo, vergicScreenSharing, vimeoCdn, hotjarCom, vergicDotCom], + 'img-src': [navNo, vergicScreenSharing, vimeoCdn, hotjarCom, vergicDotCom, googleStorage], 'frame-src': [hotjarCom, vimeoPlayer, qbrick], 'connect-src': [navNo, boostChatbot, vergicScreenSharing, hotjarCom, hotjarIo, taskAnalytics], };