From 820edfac18b4599b4567b39c5c37106328f92eef Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Tue, 23 Aug 2022 16:24:55 +0100 Subject: [PATCH] Downcase asset names The Nginx configuration in Router which downcases all requests in the new infrastructure. This causes any assets with capital letters to be unreachable. Downcases assets for now, until we support mixed cases requests. --- .../{Churchill_01.jpg => churchill_01.jpg} | Bin app/views/histories/history.html.erb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/assets/images/how-gov-works/{Churchill_01.jpg => churchill_01.jpg} (100%) diff --git a/app/assets/images/how-gov-works/Churchill_01.jpg b/app/assets/images/how-gov-works/churchill_01.jpg similarity index 100% rename from app/assets/images/how-gov-works/Churchill_01.jpg rename to app/assets/images/how-gov-works/churchill_01.jpg diff --git a/app/views/histories/history.html.erb b/app/views/histories/history.html.erb index d8a74fa53..30bb17eb1 100644 --- a/app/views/histories/history.html.erb +++ b/app/views/histories/history.html.erb @@ -36,7 +36,7 @@
- <%= image_tag 'how-gov-works/Churchill_01.jpg', alt: "", loading: "lazy", style: "width:100%" %> + <%= image_tag 'how-gov-works/churchill_01.jpg', alt: "", loading: "lazy", style: "width:100%" %>
<%= render "govuk_publishing_components/components/heading", {