Http error 417, page for Pavlenex

This commit is contained in:
rockstardev
2021-01-17 13:57:16 -06:00
parent 7147dadb2a
commit a662b6ef6a
3 changed files with 38 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ namespace BTCPayServer.Controllers
{
if (statusCode.HasValue)
{
var specialPages = new[] { 404, 429, 500 };
var specialPages = new[] { 404, 417, 429, 500, 502 };
if (specialPages.Any(a => a == statusCode.Value))
{
var viewName = statusCode.ToString();