This commit is contained in:
insanity 2018-05-18 16:04:28 +09:00
parent 36d169fccb
commit b3dd0bcaab
2 changed files with 4 additions and 3 deletions

View File

@ -5,8 +5,8 @@ import { AuthGuard } from './commons/guard/auth.guard';
const routes: Routes = [
{ path: '', loadChildren: './pages/pages.module#PagesModule', canActivate: [AuthGuard] },
{ path: 'auth', loadChildren: './pages/auth/auth-page.module#AuthPageModule' },
// { path: 'error', loadChildren: './pages/error/error-page.module#ErrorPageModule' },
// { path: '**', redirectTo: 'error' },
{ path: 'error', loadChildren: './pages/error/error-page.module#ErrorPageModule' },
{ path: '**', redirectTo: 'error' },
];
@NgModule({

View File

@ -1 +1,2 @@
<of-noauth-list></of-noauth-list>
container로 교체
<!-- <of-noauth-list></of-noauth-list> -->