Missed a change to get the options....

Somehow my other options test didn't work... had to add something like this.

Now I feel this is such a huge hack
This commit is contained in:
d3x0r 2016-12-23 00:35:11 -08:00 committed by GitHub
parent eddbbf6247
commit 266b18109c

View File

@ -74,6 +74,7 @@ Gun.on('opt', function (context) {
if (sockets[url]) {
return;
}
if (!options.wsc) options.wsc = gun.Back('opt.wsc') || { protocols:null };
var socket = Socket(url, options);
sockets.add(url, socket);