diff --git a/src/app/core/home/home.module.ts b/src/app/core/home/home.module.ts index 2e2d895..9aa300b 100644 --- a/src/app/core/home/home.module.ts +++ b/src/app/core/home/home.module.ts @@ -22,41 +22,12 @@ const routes: Routes = [ path: "settings", canActivate: [AuthGuard], component: SettingsComponent - }, - { - path: "dashboard", - loadChildren: () => - import('../../feature/dashboard/dashboard.module').then((m) => m.DashboardModule) - }, - { - path: "plant", - canActivate: [AuthGuard], - loadChildren: () => - import('../../feature/plant/plant.module').then((m) => m.PlantModule) - }, - { - path: "device", - canActivate: [AuthGuard], - loadChildren: () => - import('../../feature/device/device.module').then((m) => m.DeviceModule) - }, - { - path: "location", - canActivate: [AuthGuard], - loadChildren: () => - import('../../feature/location/location.module').then((m) => m.LocationModule) - }, - { - path: "admin", - canActivate: [AuthGuard], - loadChildren: () => - import('../../feature/admin/admin.module').then((m) => m.AdminModule) - }, + }/*, { path: '**', redirectTo: 'dashboard', pathMatch: 'full' - } + }*/ ], }, ];