diff options
Diffstat (limited to 'src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/App.razor')
-rw-r--r-- | src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/App.razor | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/App.razor b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/App.razor index a7210c9197..0e1ea89371 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/App.razor +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/App.razor @@ -1,5 +1,5 @@ @*#if (NoAuth) -<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="true"> +<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true"> <Found Context="routeData"> <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> </Found> @@ -11,7 +11,7 @@ </Router> #else <CascadingAuthenticationState> - <Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="true"> + <Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true"> <Found Context="routeData"> <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> </Found> |