[client] Fix new WebSocket pathing
This commit is contained in:
parent
abce0b2af7
commit
e7b6293278
|
@ -148,7 +148,7 @@ class BoardWindow extends EventEmitter
|
||||||
* This mainly consists of establishing the RippleLink connection to the server.
|
* This mainly consists of establishing the RippleLink connection to the server.
|
||||||
*/
|
*/
|
||||||
setup() {
|
setup() {
|
||||||
this.rippleLink = new RippleLink(`ws${this.settings.SecureWebSocket ? "s" : ""}://${location.host}/${this.settings.WebSocketPath}`, this);
|
this.rippleLink = new RippleLink(`ws${this.settings.SecureWebSocket ? "s" : ""}://${location.host}${this.settings.WebSocketPath}`, this);
|
||||||
this.rippleLink.on("connect", (function(event) {
|
this.rippleLink.on("connect", (function(event) {
|
||||||
|
|
||||||
// Send the handshake request
|
// Send the handshake request
|
||||||
|
|
Loading…
Reference in New Issue