From 7b0558dc8e419cdd2d1c7e1feb80dd5a86401164 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 13 Jan 2022 15:13:07 +0900 Subject: [PATCH] Add version to svg's href files to prevent cache issues --- BTCPayServer/TagHelpers.cs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/BTCPayServer/TagHelpers.cs b/BTCPayServer/TagHelpers.cs index 1f70d00af..898752b60 100644 --- a/BTCPayServer/TagHelpers.cs +++ b/BTCPayServer/TagHelpers.cs @@ -3,10 +3,15 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; +using System.Text.Encodings.Web; using System.Threading.Tasks; using BTCPayServer.Configuration; using BTCPayServer.Security; using BTCPayServer.Services; +using Microsoft.AspNetCore.Mvc.Razor.TagHelpers; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc.Routing; +using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using NBitcoin; using NBitcoin.Crypto; @@ -145,22 +150,19 @@ namespace BTCPayServer.TagHelpers // Make sure that