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

Commit

Permalink
Adds google storage csp
Browse files Browse the repository at this point in the history
  • Loading branch information
mamikals committed Sep 29, 2023
1 parent 3bde463 commit 983b2b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/csp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -51,7 +52,7 @@ const directives: Partial<CSPDirectives> = {
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],
};
Expand Down

0 comments on commit 983b2b4

Please sign in to comment.