Fixed error with redirect of login page

This commit is contained in:
2026-05-28 15:09:20 +01:00
parent caff8aa312
commit 24f82742f7
+5
View File
@@ -1,6 +1,11 @@
import {Routes} from '@angular/router'; import {Routes} from '@angular/router';
export const routes: Routes = [ export const routes: Routes = [
{
path: '',
pathMatch: 'full',
redirectTo: '/login'
},
{ {
path: 'login', path: 'login',
loadComponent: () => import('./pages/login/login').then(x => x.Login) loadComponent: () => import('./pages/login/login').then(x => x.Login)