From 920955657dc613e67fd7e8b3b6370a574617889d Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 27 Sep 2021 10:31:23 +0900 Subject: [PATCH] Fix camera not working on wallet send (Fix #2922) --- BTCPayServer/Views/Wallets/WalletSend.cshtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BTCPayServer/Views/Wallets/WalletSend.cshtml b/BTCPayServer/Views/Wallets/WalletSend.cshtml index 13bef1060..bd0604cfb 100644 --- a/BTCPayServer/Views/Wallets/WalletSend.cshtml +++ b/BTCPayServer/Views/Wallets/WalletSend.cshtml @@ -1,9 +1,11 @@ @addTagHelper *, BundlerMinifier.TagHelpers +@inject BTCPayServer.Security.ContentSecurityPolicies csp @using Microsoft.AspNetCore.Mvc.ModelBinding @model WalletSendModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(WalletsNavPages.Send, $"Send {Model.CryptoCode}", Context.GetStoreData().StoreName); + csp.Add("worker-src", "blob:"); } @section PageHeadContent