mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Fix Point of Sale with custom domains
This commit is contained in:
parent
783185d99c
commit
16f2ddddf0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue