fix(routing): add [AllowAnonymous] to public pages so static-SSR AuthorizeRouteView doesn't block unauthenticated requests
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
@page "/"
|
@page "/"
|
||||||
@using DeepDrftWeb.Client.Services
|
@using DeepDrftWeb.Client.Services
|
||||||
|
@attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous]
|
||||||
|
|
||||||
<PageTitle>Deep DRFT - Electronic Music Collective</PageTitle>
|
<PageTitle>Deep DRFT - Electronic Music Collective</PageTitle>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
@page "/tracks"
|
@page "/tracks"
|
||||||
|
@attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous]
|
||||||
|
|
||||||
@using DeepDrftWeb.Client.Controls
|
@using DeepDrftWeb.Client.Controls
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user