mirror of
https://github.com/xfgryujk/blivechat.git
synced 2025-03-13 11:20:42 +08:00
Merge pull request #12 from simon300000/generate-https
roomUrl auto https support
This commit is contained in:
commit
f429a6a03d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user