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

Commit

Permalink
feat(generator): csp report-uri to ONE_CLIENT_CSP_REPORTING_URL (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
JAdshead authored Apr 8, 2020
1 parent 16d5f90 commit 9ae5dc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import contentSecurityPolicyBuilder from 'content-security-policy-builder';
// https://github.com/americanexpress/one-app/blob/master/docs/api/modules/App-Configuration.md#csp
export default contentSecurityPolicyBuilder({
directives: {
reportUri: `${process.env.ONE_CLIENT_REPORTING_URL}/report/security/csp-violation`,
reportUri: process.env.ONE_CLIENT_CSP_REPORTING_URL,
defaultSrc: [
"'self'",
],
Expand Down

0 comments on commit 9ae5dc9

Please sign in to comment.