Skip to content

Commit

Permalink
fix: remove from Checkout CSP (#2745)
Browse files Browse the repository at this point in the history
Co-authored-by: Simone infante <[email protected]>
  • Loading branch information
pietro-tota and infantesimone authored Jan 27, 2025
1 parent bd4d108 commit 1cd9483
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/domains/checkout-app/05_checkout_fe.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module "checkout_cdn" {
{
action = "Append"
name = local.content_security_policy_header_name
value = " https://acardste.vaservices.eu:* https://cdn.cookielaw.org;"
value = " https://acardste.vaservices.eu:*;"
},
{
action = "Append"
Expand All @@ -75,12 +75,12 @@ module "checkout_cdn" {
{
action = "Append"
name = local.content_security_policy_header_name
value = "img-src 'self' https://cdn.cookielaw.org https://acardste.vaservices.eu:* https://wisp2.pagopa.gov.it https://assets.cdn.io.italia.it www.gstatic.com/recaptcha data: https://assets.cdn.platform.pagopa.it;"
value = "img-src 'self' https://acardste.vaservices.eu:* https://wisp2.pagopa.gov.it https://assets.cdn.io.italia.it www.gstatic.com/recaptcha data: https://assets.cdn.platform.pagopa.it;"
},
{
action = "Append"
name = local.content_security_policy_header_name
value = "script-src 'self' https://www.google.com https://www.gstatic.com https://cdn.cookielaw.org https://www.recaptcha.net https://recaptcha.net https://www.gstatic.com/recaptcha/ https://www.gstatic.cn/recaptcha/ https://${local.npg_sdk_hostname};"
value = "script-src 'self' https://www.google.com https://www.gstatic.com https://www.recaptcha.net https://recaptcha.net https://www.gstatic.com/recaptcha/ https://www.gstatic.cn/recaptcha/ https://${local.npg_sdk_hostname};"
},
{
action = "Append"
Expand Down

0 comments on commit 1cd9483

Please sign in to comment.