Mail box and OCR done

This commit is contained in:
2026-01-22 20:56:35 +05:30
parent 2148c4a61c
commit d662aea7e4
16 changed files with 644 additions and 14 deletions

View File

@@ -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: '' }