Skip to content

Commit

Permalink
Fix Point of Sale with custom domains
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Jun 27, 2020
1 parent 783185d commit 16f2ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BTCPayServer/Controllers/HomeController.cs
Expand Up @@ -56,7 +56,7 @@ private async Task<ViewResult> GoToApp(string appId, AppType? appType)
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
}

Expand All @@ -72,7 +72,7 @@ private async Task<ViewResult> GoToApp(string appId, AppType? appType)
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
}

Expand Down

0 comments on commit 16f2ddd

Please sign in to comment.