melepas auth guard sementara

This commit is contained in:
Fuzi_fauzia 2024-05-20 14:38:42 +07:00
parent e92c576844
commit 7bf0474fbb
1 changed files with 5 additions and 5 deletions

View File

@ -50,23 +50,23 @@ const appRoutes: Routes = [
{ path: 'changelog', component: ChangelogComponent, canActivate: [AuthGuard] }, { path: 'changelog', component: ChangelogComponent, canActivate: [AuthGuard] },
{ {
path: 'monitoring', loadChildren: () => import('../app/content/hemat-app/monitoring/monitoring.module').then(m => m.MonitoringModule) path: 'monitoring', loadChildren: () => import('../app/content/hemat-app/monitoring/monitoring.module').then(m => m.MonitoringModule)
, canActivate: [AuthGuard] // , canActivate: [AuthGuard]
}, },
{ {
path: 'device', loadChildren: () => import('../app/content/hemat-app/device/device.module').then(m => m.DeviceModule) path: 'device', loadChildren: () => import('../app/content/hemat-app/device/device.module').then(m => m.DeviceModule)
, canActivate: [AuthGuard] // , canActivate: [AuthGuard]
}, },
{ {
path: 'cost-management', loadChildren: () => import('../app/content/hemat-app/cost-management/cost-management.module').then(m => m.CostManagementModule) path: 'cost-management', loadChildren: () => import('../app/content/hemat-app/cost-management/cost-management.module').then(m => m.CostManagementModule)
, canActivate: [AuthGuard] // , canActivate: [AuthGuard]
}, },
{ {
path: 'user-access', loadChildren: () => import('../app/content/hemat-app/user-access/user-access.module').then(m => m.UserAccessModule) path: 'user-access', loadChildren: () => import('../app/content/hemat-app/user-access/user-access.module').then(m => m.UserAccessModule)
, canActivate: [AuthGuard] // , canActivate: [AuthGuard]
}, },
{ {
path: 'master', loadChildren: () => import('../app/content/hemat-app/master/master.module').then(m => m.MasterModule) path: 'master', loadChildren: () => import('../app/content/hemat-app/master/master.module').then(m => m.MasterModule)
, canActivate: [AuthGuard] // , canActivate: [AuthGuard]
}, },
{ {
path: 'dashboard', loadChildren: () => import('../app/content/dashboard/dashboard.module').then(m => m.DashboardModule) path: 'dashboard', loadChildren: () => import('../app/content/dashboard/dashboard.module').then(m => m.DashboardModule)