feat: Implement Login and Logout functionality, protect authenticated routes #12
@ -9,13 +9,8 @@ export const routes: Routes = [
|
||||
component: LandingPageComponent,
|
||||
},
|
||||
{
|
||||
path: '**',
|
||||
path: 'home',
|
||||
component: HomepageComponent,
|
||||
canActivate: [authGuard],
|
||||
children: [
|
||||
{
|
||||
path: 'home',
|
||||
component: HomepageComponent,
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user