|
@@ -9,9 +9,13 @@ export default new Router({
|
|
mode: 'history',
|
|
mode: 'history',
|
|
routes: [
|
|
routes: [
|
|
{ path: '/', component: AppFlow },
|
|
{ path: '/', component: AppFlow },
|
|
|
|
+ { path: '/s\\::sessId', component: AppFlow },
|
|
|
|
+ { path: '/help', component: AppHelp },
|
|
|
|
+
|
|
|
|
+ // With a context
|
|
{ path: '/:context', component: AppFlow },
|
|
{ path: '/:context', component: AppFlow },
|
|
- { path: '/:context/help', component: AppHelp },
|
|
|
|
{ path: '/:context/s\\::sessId', component: AppFlow },
|
|
{ path: '/:context/s\\::sessId', component: AppFlow },
|
|
|
|
+ { path: '/:context/help', component: AppHelp },
|
|
// Backward compatibilitie
|
|
// Backward compatibilitie
|
|
{ path: '/:context/:sessId', redirect: '/:context/s\\::sessId' }
|
|
{ path: '/:context/:sessId', redirect: '/:context/s\\::sessId' }
|
|
|
|
|