From 1f890c5bed835462daf41527fe876619b4b544b3 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Fri, 30 Aug 2019 04:19:49 +0900 Subject: Assign URL to each page of admin (#5366) * Assign URL to each page of admin * Remove cursor pointer --- src/client/app/admin/script.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/app/admin/script.ts') 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 } ] }); -- cgit v1.2.3-freya