Mail box and OCR done
This commit is contained in:
@@ -2,6 +2,7 @@ import { Routes } from '@angular/router';
|
||||
import { LoginComponent } from './login/login.component';
|
||||
import { AdminLayoutComponent } from './admin-layout/admin-layout.component';
|
||||
import { OcrComponent } from './ocr/ocr.component';
|
||||
import { MailboxComponent } from './mailbox/mailbox.component';
|
||||
import { AuthGuard } from './auth.guard';
|
||||
|
||||
export const routes: Routes = [
|
||||
@@ -12,7 +13,8 @@ export const routes: Routes = [
|
||||
canActivate: [AuthGuard],
|
||||
children: [
|
||||
{ path: '', redirectTo: 'ocr', pathMatch: 'full' },
|
||||
{ path: 'ocr', component: OcrComponent }
|
||||
{ path: 'ocr', component: OcrComponent },
|
||||
{ path: 'mailbox', component: MailboxComponent }
|
||||
]
|
||||
},
|
||||
{ path: '**', redirectTo: '' }
|
||||
|
||||
Reference in New Issue
Block a user