Skip to content

Commit 103c832

Browse files
committed
Add CSP for Calendly
1 parent 1b63f87 commit 103c832

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • website/modules/@apostrophecms/security-headers

website/modules/@apostrophecms/security-headers/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ module.exports = {
3232
"'sha256-zoD9yhjUIP539kmB7swNElD1S9L+cey6RvNjUnEcTU4='",
3333
/* eslint-enable no-secrets/no-secrets */
3434
},
35+
calendly: {
36+
'script-src': 'https://assets.calendly.com',
37+
'frame-src': 'https://calendly.com',
38+
'connect-src': 'https://calendly.com https://assets.calendly.com'
39+
},
3540
linkedin: {
3641
'script-src': 'snap.licdn.com',
3742
'connect-src': connectSrcHosts,

0 commit comments

Comments
 (0)