fix(docs): guard before redirecting

This commit is contained in:
Alex 2020-04-01 16:23:58 +03:00 committed by Sergey Andrievskiy
parent 413cbdbd01
commit ec3ef4e879
5 changed files with 21 additions and 10 deletions

View file

@ -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 = {