404 wildcard for subpaths
This commit is contained in:
@@ -5,7 +5,8 @@ import { RouterModule } from '@angular/router';
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: 'error', loadChildren: () => import('./error/error.module').then(m => m.ErrorModule) },
|
||||
{ path: 'access', loadChildren: () => import('./access/access.module').then(m => m.AccessModule) },
|
||||
{ path: 'login', loadChildren: () => import('./login/login.module').then(m => m.LoginModule) }
|
||||
{ path: 'login', loadChildren: () => import('./login/login.module').then(m => m.LoginModule) },
|
||||
{ path: '**', redirectTo: '/notfound' }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user