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:
parent
abce0b2af7
commit
e7b6293278
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue