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:
d3x0r 2016-12-21 11:59:28 -08:00 committed by GitHub
parent e8f840c548
commit f548db293b

View File

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