mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
pull opions from 'wsc' in gun options
'ws' options are used by server 'wsc' options to be used by websock client... ?
This commit is contained in:
parent
e8f840c548
commit
f548db293b
@ -134,7 +134,7 @@ API.connect = function () {
|
||||
var url = this.url;
|
||||
|
||||
// Open a new websocket.
|
||||
var socket = new WebSocket(url, this.options);
|
||||
var socket = new WebSocket(url, this.options.wsc);
|
||||
|
||||
// Re-use the previous listeners.
|
||||
socket._events = this._events;
|
||||
|
Loading…
x
Reference in New Issue
Block a user