Fix routing

This commit is contained in:
Phan Huy Tran 2025-02-12 10:54:47 +01:00
parent 80c8d66d1e
commit 7af4c45e5e

View File

@ -9,13 +9,8 @@ export const routes: Routes = [
component: LandingPageComponent, component: LandingPageComponent,
}, },
{ {
path: '**', path: 'home',
component: HomepageComponent,
canActivate: [authGuard], canActivate: [authGuard],
children: [ }
{
path: 'home',
component: HomepageComponent,
},
],
},
]; ];