File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/ProjectTemplates/Web.ProjectTemplates/content
ComponentsWebAssembly-CSharp/Client Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
@* #if (NoAuth)
2
- <Router AppAssembly="@typeof(Program).Assembly">
2
+ <Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="true" >
3
3
<Found Context="routeData">
4
4
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
5
5
</Found>
11
11
</Router>
12
12
#else
13
13
<CascadingAuthenticationState>
14
- <Router AppAssembly="@typeof(Program).Assembly">
14
+ <Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="true" >
15
15
<Found Context="routeData">
16
16
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
17
17
</Found>
Original file line number Diff line number Diff line change 1
1
@* #if (NoAuth)
2
- <Router AppAssembly="@typeof(Program).Assembly">
2
+ <Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="true" >
3
3
<Found Context="routeData">
4
4
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
5
5
</Found>
11
11
</Router>
12
12
#else
13
13
<CascadingAuthenticationState>
14
- <Router AppAssembly="@typeof(Program).Assembly">
14
+ <Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="true" >
15
15
<Found Context="routeData">
16
16
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
17
17
<NotAuthorized>
You can’t perform that action at this time.
0 commit comments