@using System.Net @using LucideBlazor @using Microsoft.AspNetCore.Components.Authorization @using Moonlight.Frontend.UI.Shared @using Moonlight.Frontend.UI.Shared.Components @using ShadcnBlazor.Emptys @using Moonlight.Frontend.UI.Shared.Components.Auth @using Moonlight.Frontend.UI.Shared.Partials @inject NavigationManager Navigation @if (context.User.Identity?.IsAuthenticated ?? false) { } else { var uri = new Uri(Navigation.Uri); if (uri.LocalPath.StartsWith("/setup")) { } else { } } @if (context is HttpRequestException { StatusCode: HttpStatusCode.Unauthorized }) { } else {
Critical Application Error @context.ToString()
}