Skip to content

Commit

Permalink
fix presentation urls not working
Browse files Browse the repository at this point in the history
  • Loading branch information
rashfael committed May 7, 2024
1 parent a1eaa5b commit b1293b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/router/index.js
Expand Up @@ -21,7 +21,7 @@ const routes = [{
component: () => import(/* webpackChunkName: "standalone" */ 'views/standalone'),
children: [{
path: 'chat',
name: 'standaloneode:chat',
name: 'standalone:chat',
component: () => import(/* webpackChunkName: "standalone" */ 'views/standalone/Chat')
}, {
path: 'poll',
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/views/rooms/manage.vue
Expand Up @@ -140,7 +140,7 @@ export default {
},
getPresentationUrl (type) {
console.log(type)
return window.location.origin + this.$router.resolve({name: `presentation-mode:${type}`}).href + '#token=' + this.token
return window.location.origin + this.$router.resolve({name: `standalone:${type}`}).href + '#token=' + this.token
},
copyUrl () {
this.$refs.urlInput.$refs.input.select()
Expand Down

0 comments on commit b1293b7

Please sign in to comment.