From eb43a37ae5fca39152350b970d1b125c64def1ce Mon Sep 17 00:00:00 2001 From: simon3000 Date: Sat, 30 Nov 2019 06:56:05 +0100 Subject: [PATCH] roomUrl auto https support --- frontend/src/views/Home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index c1c4040..ea45b6e 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -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() {