diff options
Diffstat (limited to 'src/client/app/admin/script.ts')
| -rw-r--r-- | src/client/app/admin/script.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/admin/script.ts b/src/client/app/admin/script.ts index 084f23b367..3f2d6466ac 100644 --- a/src/client/app/admin/script.ts +++ b/src/client/app/admin/script.ts @@ -19,7 +19,8 @@ init(launch => { mode: 'history', base: '/admin/', routes: [ - { path: '/', component: Index }, + { path: '/:page', component: Index }, + { path: '/', redirect: '/dashboard' }, { path: '*', component: NotFound } ] }); |