Skip to content

Commit 7cc8a59

Browse files
Merge pull request #6585 from nursoltan-s/veterans-http-headers
remove unsafe-inline csp for veterans
2 parents cb4709c + 2cd328e commit 7cc8a59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ workflows:
356356
context : org-global
357357
filters:
358358
branches:
359-
only:
360-
- free
359+
only:
360+
- veterans-http-headers
361361
# This is alternate dev env for parallel testing
362362
- "build-qa":
363363
context : org-global

src/server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async function onExpressJsSetup(server) {
141141
res.header(
142142
'Content-Security-Policy',
143143
"default-src 'self';"
144-
+ " script-src 'report-sample' 'self' 'unsafe-inline' 'unsafe-eval'"
144+
+ " script-src 'report-sample' 'self'"
145145
+ ` ${config.CDN.PUBLIC}`
146146
+ ' http://www.google-analytics.com'
147147
+ ' https://www.google-analytics.com'

0 commit comments

Comments
 (0)