mirror of
https://github.com/amark/gun.git
synced 2025-11-24 14:35:55 +00:00
Update wire.js
This commit is contained in:
parent
22a23806cf
commit
fd19a00d30
@ -63,6 +63,7 @@ Gun.on('opt', function (root) {
|
|||||||
ws.path = ws.path || '/gun';
|
ws.path = ws.path || '/gun';
|
||||||
// if we DO need an HTTP server, then choose ws specific one or GUN default one.
|
// if we DO need an HTTP server, then choose ws specific one or GUN default one.
|
||||||
if (!opt.web || ws.noServer) {
|
if (!opt.web || ws.noServer) {
|
||||||
|
this.to.next(root);
|
||||||
return;// no server no sockets
|
return;// no server no sockets
|
||||||
}
|
}
|
||||||
ws.noServer = true;//workaround for ws.path
|
ws.noServer = true;//workaround for ws.path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user