mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-17 06:55:30 +01:00
fix(docs): guard before redirecting
This commit is contained in:
parent
413cbdbd01
commit
ec3ef4e879
5 changed files with 21 additions and 10 deletions
|
|
@ -53,8 +53,8 @@ export const routes: Routes = [
|
|||
},
|
||||
],
|
||||
},
|
||||
{ path: '', redirectTo: 'themes', pathMatch: 'full' },
|
||||
{ path: '**', redirectTo: 'themes' },
|
||||
{ path: '', redirectTo: 'pages/dashboard', pathMatch: 'full' },
|
||||
{ path: '**', redirectTo: 'pages/dashboard' },
|
||||
];
|
||||
|
||||
const config: ExtraOptions = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue