We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Routes
1 parent c20fb29 commit 6dfab40Copy full SHA for 6dfab40
1 file changed
10.0/BlazorWebAppWinAuthServer/Components/Routes.razor
@@ -1,6 +1,6 @@
1
<Router AppAssembly="typeof(Program).Assembly" NotFoundPage="typeof(Pages.NotFound)">
2
<Found Context="routeData">
3
- <RouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)" />
+ <AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)" />
4
<FocusOnNavigate RouteData="routeData" Selector="h1" />
5
</Found>
6
</Router>
0 commit comments