1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[client] Fix new WebSocket pathing

This commit is contained in:
Starbeamrainbowlabs 2017-05-04 21:38:03 +01:00
parent abce0b2af7
commit e7b6293278

View file

@ -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