mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 00:10:14 +01:00
fix(app-routing): add 404 route
This commit is contained in:
parent
ee99cfcaae
commit
92469d2f12
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
export const routes: Routes = [
|
||||
{ path: '', redirectTo: 'pages', pathMatch: 'full' }
|
||||
{ path: '', redirectTo: 'pages', pathMatch: 'full' },
|
||||
{ path: '**', redirectTo: 'pages/dashboard' }
|
||||
];
|
||||
|
||||
export const routing = RouterModule.forRoot(routes, { useHash: true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue