-login guard
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 4s
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 4s
-caching -budget
This commit is contained in:
@@ -3,10 +3,11 @@ import { RouterModule, Routes } from '@angular/router';
|
||||
import { SidebarContentComponent } from './content/sidebar-content/sidebar-content.component';
|
||||
import { LicensePrivacyTermsComponent } from './component/license-privacy-terms/license-privacy-terms.component';
|
||||
import { authGuard } from './services/auth.guard';
|
||||
import { loginGuard } from './services/login.guard';
|
||||
|
||||
const routes: Routes = [
|
||||
|
||||
{ path: 'login', loadChildren: () => import('./controls/login-control/login-control.module').then(m => m.LoginControlModule) },
|
||||
{ path: 'login', loadChildren: () => import('./controls/login-control/login-control.module').then(m => m.LoginControlModule), canActivate: [loginGuard] },
|
||||
|
||||
{ path: 'license', component: LicensePrivacyTermsComponent},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user