Skip to content

Commit

Permalink
Merge pull request #6596 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
Release v1.17.12
  • Loading branch information
luizrrodrigues authored Jul 29, 2022
2 parents 0a198e3 + ee1f747 commit 324cadf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,16 +349,14 @@ workflows:
filters:
branches:
only:
- develop
- free
- justin-fixes
# This is alternate dev env for parallel testing
- "build-test":
context : org-global
filters:
branches:
only:
- tco23
only:
- free
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
Expand Down
3 changes: 2 additions & 1 deletion src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,11 @@ async function onExpressJsSetup(server) {
res.header('Permissions-Policy', 'geolocation=(), microphone=(), camera=()');

if (req.url.startsWith('/__community__/veterans') || req.hostname === 'veterans.topcoder.com' || req.url.startsWith('/__community__/tco') || tcoPattern.test(req.hostname)) {
res.header('Cache-Control', 'no-cache');
res.header(
'Content-Security-Policy',
"default-src 'self';"
+ " script-src 'report-sample' 'self' 'unsafe-inline' 'unsafe-eval'"
+ " script-src 'report-sample' 'self'"
+ ` ${config.CDN.PUBLIC}`
+ ' http://www.google-analytics.com'
+ ' https://www.google-analytics.com'
Expand Down

0 comments on commit 324cadf

Please sign in to comment.