From 80454e2623eec5a153af6f1e32bc29678a71e55b Mon Sep 17 00:00:00 2001 From: JonathanHallam Date: Fri, 17 Jun 2022 14:13:47 +0100 Subject: [PATCH] Add new GA domain to security policy A new domain has caused our [smoke tests to fail](https://deploy.integration.publishing.service.gov.uk/job/Smokey/40512/console) This adds the new domain in which will hopefully fix the issue --- lib/govuk_app_config/govuk_content_security_policy.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/govuk_app_config/govuk_content_security_policy.rb b/lib/govuk_app_config/govuk_content_security_policy.rb index 8544ba7c..1aa6192c 100644 --- a/lib/govuk_app_config/govuk_content_security_policy.rb +++ b/lib/govuk_app_config/govuk_content_security_policy.rb @@ -18,7 +18,8 @@ module GovukContentSecurityPolicy GOOGLE_ANALYTICS_DOMAINS = %w[www.google-analytics.com ssl.google-analytics.com stats.g.doubleclick.net - www.googletagmanager.com].freeze + www.googletagmanager.com + www.region1.google-analytics.com].freeze GOOGLE_STATIC_DOMAINS = %w[www.gstatic.com].freeze