Skip to content

Commit

Permalink
Merge pull request #6964 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
PROD-4429 more CSP updates - hotfix
  • Loading branch information
kkartunov authored Jan 29, 2024
2 parents 33340ee + 2e9b8b8 commit dc4fe0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ async function onExpressJsSetup(server) {
+ ' https://uni-nav.topcoder.com'
+ ' https://js.hs-analytics.net'
+ ' https://cdn-3.convertexperiments.com'
+ ' https://js-na1.hs-scripts.com'
+ ' https://www.googletagmanager.com;'
+ " style-src 'report-sample' 'self' 'unsafe-inline'"
+ ` ${config.CDN.PUBLIC}`
Expand All @@ -184,6 +185,7 @@ async function onExpressJsSetup(server) {
+ ' https://ekr.zdassets.com'
+ ' https://stats.g.doubleclick.net'
+ ' https://region1.analytics.google.com'
+ ' https://logs.convertexperiments.com'
+ ' https://www.google-analytics.com;'
+ " font-src 'self'"
+ ' data:'
Expand Down Expand Up @@ -215,6 +217,7 @@ async function onExpressJsSetup(server) {
+ ' https://images.contentful.com'
+ ' https://member-media.topcoder-dev.com'
+ ' https://member-media.topcoder.com'
+ ' https://track.hubspot.com'
+ ' https://d0.awsstatic.com/logos/;'
+ " manifest-src 'self';"
+ " media-src 'self';"
Expand Down

0 comments on commit dc4fe0b

Please sign in to comment.