From 16f2ddddf0751b87a15eff306bbbbc2b158782c3 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sat, 27 Jun 2020 12:21:19 +0900 Subject: [PATCH] Fix Point of Sale with custom domains --- BTCPayServer/Controllers/HomeController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Controllers/HomeController.cs b/BTCPayServer/Controllers/HomeController.cs index a53751087..58b65e59a 100644 --- a/BTCPayServer/Controllers/HomeController.cs +++ b/BTCPayServer/Controllers/HomeController.cs @@ -56,7 +56,7 @@ namespace BTCPayServer.Controllers var res = await controller.ViewCrowdfund(appId, null) as ViewResult; if (res != null) { - res.ViewName = $"/Views/{res.ViewName}.cshtml"; + res.ViewName = $"/Views/AppsPublic/{res.ViewName}.cshtml"; return res; // return } @@ -72,7 +72,7 @@ namespace BTCPayServer.Controllers var res = await controller.ViewPointOfSale(appId) as ViewResult; if (res != null) { - res.ViewName = $"/Views/{res.ViewName}.cshtml"; + res.ViewName = $"/Views/AppsPublic/{res.ViewName}.cshtml"; return res; // return }