Skip to content

Commit 324cadf

Browse files
Merge pull request #6596 from topcoder-platform/develop
Release v1.17.12
2 parents 0a198e3 + ee1f747 commit 324cadf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.circleci/config.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -349,16 +349,14 @@ workflows:
349349
filters:
350350
branches:
351351
only:
352-
- develop
353352
- free
354-
- justin-fixes
355353
# This is alternate dev env for parallel testing
356354
- "build-test":
357355
context : org-global
358356
filters:
359357
branches:
360-
only:
361-
- tco23
358+
only:
359+
- free
362360
# This is alternate dev env for parallel testing
363361
- "build-qa":
364362
context : org-global

src/server/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,11 @@ async function onExpressJsSetup(server) {
138138
res.header('Permissions-Policy', 'geolocation=(), microphone=(), camera=()');
139139

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

0 commit comments

Comments
 (0)