Skip to content

Commit 3c114bc

Browse files
committed
Fix router config (crashing under appium tests).
1 parent d9105f2 commit 3c114bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/router/router-outlet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {SecondComponent} from "../components/second.component";
2121
export class NavigationTestRouter { }
2222

2323
export var NavigationSubRoutes = [
24-
{ path: '', redirectTo: 'first' },
24+
{ path: '', redirectTo: 'first', pathMatch: "full" },
2525
{ path: 'first', component: FirstComponent },
2626
{ path: 'second', component: SecondComponent },
2727
];

0 commit comments

Comments
 (0)