Fixed error with redirect of login page
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user