From 01ce1b271232ed0608c742f2da6e24014031a79c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Br=C3=A5then=20Nomerstad?= Date: Fri, 4 Nov 2022 16:39:48 +0100 Subject: [PATCH] font-src og img-src for hotjar --- src/csp.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/csp.ts b/src/csp.ts index 3f7c306b4..bcd3c82fc 100644 --- a/src/csp.ts +++ b/src/csp.ts @@ -26,7 +26,6 @@ const directives: Partial = { googleTagManager, googleAnalytics, hotjarCom, - hotjarIo, taskAnalytics, UNSAFE_INLINE, // GTM ], @@ -43,10 +42,11 @@ const directives: Partial = { ], 'font-src': [ vergicScreenSharing, + hotjarCom, DATA, // ds-css ], - 'img-src': [navno, vergicScreenSharing, googleAnalytics, vimeoCdn], - 'frame-src': [hotjarCom, hotjarIo, googleTagManager, vimeoPlayer, qbrick], + 'img-src': [navno, vergicScreenSharing, googleAnalytics, vimeoCdn, hotjarCom], + 'frame-src': [hotjarCom, googleTagManager, vimeoPlayer, qbrick], 'connect-src': [navno, boostChatbot, vergicScreenSharing, googleAnalytics, hotjarCom, hotjarIo, taskAnalytics], };