fix: fix routing
This commit is contained in:
parent
f6bcc1be11
commit
4b9574ac96
1 changed files with 3 additions and 8 deletions
|
@ -8,14 +8,9 @@ export const routes: Routes = [
|
||||||
path: '',
|
path: '',
|
||||||
component: LandingPageComponent,
|
component: LandingPageComponent,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '**',
|
|
||||||
canActivate: [authGuard],
|
|
||||||
children: [
|
|
||||||
{
|
{
|
||||||
path: 'home',
|
path: 'home',
|
||||||
component: HomepageComponent,
|
component: HomepageComponent,
|
||||||
},
|
canActivate: [authGuard],
|
||||||
],
|
}
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
Reference in a new issue