diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index 78b4ad1..bdbc5e7 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -4,7 +4,7 @@ @model IndexModel @{ // Check if we are on an allowed domain - if (Vars.PermittedDomains.All(p => Request.Host.Host != $"{Vars.AuthProxySubdomain}.{p}")) + if (Vars.PermittedDomains.All(p => Request.Host.Host != $"{Vars.AuthProxySubdomain}.{p}")) { Layout = null; Response.Clear(); Response.StatusCode = StatusCodes.Status421MisdirectedRequest;