Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1306 from navikt/hotjar-csp
Browse files Browse the repository at this point in the history
Legger til font-src og img-src direktiver for hotjar
  • Loading branch information
anders-nom authored Nov 4, 2022
2 parents 12d0313 + 01ce1b2 commit d853347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/csp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const directives: Partial<CSPDirectives> = {
googleTagManager,
googleAnalytics,
hotjarCom,
hotjarIo,
taskAnalytics,
UNSAFE_INLINE, // GTM
],
Expand All @@ -43,10 +42,11 @@ const directives: Partial<CSPDirectives> = {
],
'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],
};

Expand Down

0 comments on commit d853347

Please sign in to comment.