roomUrl auto https support

This commit is contained in:
simon3000
2019-11-30 06:56:05 +01:00
parent 1cf6d88460
commit eb43a37ae5

View File

@@ -116,7 +116,7 @@ export default {
let resolved = this.$router.resolve({name: 'room', params: {roomId: this.form.roomId},
query: {config_id: window.localStorage.configId}})
this.roomUrl = `http://${window.location.host}${resolved.href}`
this.roomUrl = `${window.location.protocol}//${window.location.host}${resolved.href}`
})
},
enterRoom() {