From 437988304884320d4129e42f7f3abbf4b29029f5 Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Tue, 19 May 2026 00:03:48 -0400 Subject: [PATCH] fix(routing): add [AllowAnonymous] to public pages so static-SSR AuthorizeRouteView doesn't block unauthenticated requests --- DeepDrftWeb.Client/Pages/Home.razor | 1 + DeepDrftWeb.Client/Pages/TracksView.razor | 1 + 2 files changed, 2 insertions(+) diff --git a/DeepDrftWeb.Client/Pages/Home.razor b/DeepDrftWeb.Client/Pages/Home.razor index d24385b..c5319c0 100644 --- a/DeepDrftWeb.Client/Pages/Home.razor +++ b/DeepDrftWeb.Client/Pages/Home.razor @@ -1,5 +1,6 @@ @page "/" @using DeepDrftWeb.Client.Services +@attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous] Deep DRFT - Electronic Music Collective diff --git a/DeepDrftWeb.Client/Pages/TracksView.razor b/DeepDrftWeb.Client/Pages/TracksView.razor index 5918767..cd64c2a 100644 --- a/DeepDrftWeb.Client/Pages/TracksView.razor +++ b/DeepDrftWeb.Client/Pages/TracksView.razor @@ -1,4 +1,5 @@ @page "/tracks" +@attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous] @using DeepDrftWeb.Client.Controls