Skip to content

Commit

Permalink
Revert "Add GOVUK domains to script src CSP"
Browse files Browse the repository at this point in the history
This reverts commit b30410c.

We thought it would solve a CORS issue, but it did not so we don't need this change.
  • Loading branch information
AshGDS committed Dec 21, 2023
1 parent bba0e4b commit 22230ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/govuk_app_config/govuk_content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def self.build_policy(policy)
policy.script_src :self,
*GOOGLE_ANALYTICS_DOMAINS,
*GOOGLE_STATIC_DOMAINS,
*GOVUK_DOMAINS,
# Allow YouTube Embeds (Govspeak turns YouTube links into embeds)
"*.ytimg.com",
"www.youtube.com",
Expand Down

0 comments on commit 22230ef

Please sign in to comment.