mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:37:08 +00:00
Fix issue with protocol detection
This commit is contained in:
@@ -79,11 +79,11 @@ new Vue({
|
||||
},
|
||||
|
||||
created () {
|
||||
this.wsUrl = location.protocol == "https"
|
||||
this.wsUrl = location.protocol == "https:"
|
||||
? "wss://"+location.host+this.wsUrl
|
||||
: "ws://"+location.host+this.wsUrl;
|
||||
|
||||
this.initWs();
|
||||
this.$nextTick( () => this.initWs() );
|
||||
},
|
||||
|
||||
router,
|
||||
|
||||
Reference in New Issue
Block a user