mirror of
https://github.com/xfgryujk/blivechat.git
synced 2026-08-22 19:33:27 +08:00
roomUrl auto https support
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user