mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
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:
parent
eddbbf6247
commit
266b18109c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user