From 30f83d8f3fd9379cf0d2bfcca586ad555fde7343 Mon Sep 17 00:00:00 2001 From: Davide Oggioni Date: Thu, 29 Sep 2022 12:40:00 +0200 Subject: [PATCH] Remove direct and temp link functionality from the File Storage (#4177) --- BTCPayServer/Views/UIServer/Files.cshtml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/BTCPayServer/Views/UIServer/Files.cshtml b/BTCPayServer/Views/UIServer/Files.cshtml index 93cf95380..e35b93e79 100644 --- a/BTCPayServer/Views/UIServer/Files.cshtml +++ b/BTCPayServer/Views/UIServer/Files.cshtml @@ -62,7 +62,6 @@ @file.ApplicationUser.UserName Get Link - - Get Temp Link - Remove @@ -83,7 +82,6 @@ foreach (KeyValuePair fileUrlPair in Model.DirectUrlByFiles) { var fileId = fileUrlPair.Key; - var fileUrl = fileUrlPair.Value; var file = Model.Files.Single(storedFile => storedFile.Id.Equals(fileId, StringComparison.InvariantCultureIgnoreCase));
@@ -101,10 +99,6 @@ }, Context.Request.Scheme, Context.Request.Host.ToString()) -
  • - Direct URL: - @fileUrl -