mirror of
https://github.com/xfgryujk/blivechat.git
synced 2025-03-23 08:10:56 +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},
|
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…
Reference in New Issue
Block a user