Skip to content

Commit

Permalink
feat: Update CSP header for
Browse files Browse the repository at this point in the history
  • Loading branch information
joostvanderborg committed Sep 17, 2024
1 parent 100c60b commit ffb8071
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CloudfrontStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ export class CloudfrontStack extends Stack {
const cspValues = [
'default-src \'self\';',
'frame-ancestors \'none\';',
'base-uri \'self\';',
'frame-src \'self\';',
`connect-src \'self\' https://componenten.nijmegen.nl https://${yiviHost};`,
'style-src \'self\' https://componenten.nijmegen.nl https://fonts.googleapis.com https://fonts.gstatic.com \'sha256-hS1LM/30PjUBJK3kBX9Vm9eOAhQNCiNhf/SCDnUqu14=\' \'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=\' \'sha256-OTeu7NEHDo6qutIWo0F2TmYrDhsKWCzrUgGoxxHGJ8o=\';',
Expand Down

0 comments on commit ffb8071

Please sign in to comment.