Custom logo and custom url for checkout page should accept any string (relative path) (Fix #1124)

This commit is contained in:
nicolas.dorier
2019-11-06 12:01:29 +09:00
parent c62aeb670a
commit 2d80dbfa8f
6 changed files with 11 additions and 14 deletions

View File

@@ -232,8 +232,8 @@ namespace BTCPayServer.Controllers
InvoiceId = invoice.Id,
DefaultLang = storeBlob.DefaultLang ?? "en",
HtmlTitle = storeBlob.HtmlTitle ?? "BTCPay Invoice",
CustomCSSLink = storeBlob.CustomCSS?.AbsoluteUri,
CustomLogoLink = storeBlob.CustomLogo?.AbsoluteUri,
CustomCSSLink = storeBlob.CustomCSS,
CustomLogoLink = storeBlob.CustomLogo,
CryptoImage = Request.GetRelativePathOrAbsolute(paymentMethodHandler.GetCryptoImage(paymentMethodId)),
BtcAddress = paymentMethodDetails.GetPaymentDestination(),
BtcDue = accounting.Due.ToString(),