mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
mo style
This commit is contained in:
committed by
Aiden McClelland
parent
27072b5a3b
commit
517251d672
@@ -1,14 +1,17 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
||||
|
||||
import { CanActivateHome, CanActivateRecover } from './guards/guards'
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: 'wizard',
|
||||
loadChildren: () => import('./pages/home/home.module').then( m => m.HomePageModule)
|
||||
loadChildren: () => import('./pages/home/home.module').then( m => m.HomePageModule),
|
||||
canActivate: [CanActivateHome],
|
||||
|
||||
},
|
||||
{
|
||||
path: 'recover',
|
||||
loadChildren: () => import('./pages/recover/recover.module').then( m => m.RecoverPageModule)
|
||||
loadChildren: () => import('./pages/recover/recover.module').then( m => m.RecoverPageModule),
|
||||
canActivate: [CanActivateRecover]
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user