summaryrefslogtreecommitdiffstats
path: root/src/router
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-16 11:33:03 +0200
committerJoas Schilling <coding@schilljs.com>2020-07-01 10:00:24 +0200
commit977521581615ff5ba143f5189a5d1920a18042e7 (patch)
treeb9db29e4842e5008869738b901103fef97c0bdda /src/router
parent9fc01a64392d7c1e79a871aec0c90b8d4244067f (diff)
Redirect to a plain page to avoid reconnections
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/router')
-rw-r--r--src/router/router.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/router/router.js b/src/router/router.js
index 9c144af18..8bf321154 100644
--- a/src/router/router.js
+++ b/src/router/router.js
@@ -25,6 +25,7 @@ import Router from 'vue-router'
import { getRootUrl, generateUrl } from '@nextcloud/router'
import MainView from '../views/MainView.vue'
import NotFoundView from '../views/NotFoundView.vue'
+import SessionConflictView from '../views/SessionConflictView.vue'
import WelcomeView from '../views/WelcomeView.vue'
Vue.use(Router)
@@ -55,6 +56,12 @@ export default new Router({
props: true,
},
{
+ path: '/apps/spreed/duplicate-session',
+ name: 'duplicatesession',
+ component: SessionConflictView,
+ props: true,
+ },
+ {
path: '/call/:token',
name: 'conversation',
component: MainView,