|
|
@ -5,8 +5,7 @@ export const routes: Routes = [ |
|
|
|
{path: '', pathMatch: 'full', redirectTo: 'admin/index'}, |
|
|
|
{path: '', pathMatch: 'full', redirectTo: 'admin/index'}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'login', |
|
|
|
path: 'login', |
|
|
|
loadChildren: () => import('./pages/login/login.routes').then(m => m.LOGIN_ROUTES), |
|
|
|
loadChildren: () => import('./pages/login/login.routes').then(m => m.LOGIN_ROUTES) |
|
|
|
canActivate: [InitGuardService] |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'admin', component: IndexComponent, |
|
|
|
path: 'admin', component: IndexComponent, |
|
|
|