Fixed 404 error on opening bogus path.
This commit is contained in:
parent
79a9e0edd5
commit
2b45448423
@ -38,6 +38,11 @@ const routes: Routes = [
|
||||
component: EditierenComponent,
|
||||
canActivate: [AuthGuardService]
|
||||
},
|
||||
{
|
||||
path: '**',
|
||||
component: LoginComponent,
|
||||
canActivate: [UnAuthGuardService]
|
||||
},
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user