roomUrl auto https support

pull/12/head
simon3000 5 years ago
parent 1cf6d88460
commit eb43a37ae5
No known key found for this signature in database
GPG Key ID: AF9E4E00993D5AD9

@ -116,7 +116,7 @@ export default {
let resolved = this.$router.resolve({name: 'room', params: {roomId: this.form.roomId}, let resolved = this.$router.resolve({name: 'room', params: {roomId: this.form.roomId},
query: {config_id: window.localStorage.configId}}) 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() { enterRoom() {

Loading…
Cancel
Save