mirror of
https://github.com/amark/gun.git
synced 2025-11-23 22:15: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';
|
||||
// if we DO need an HTTP server, then choose ws specific one or GUN default one.
|
||||
if (!opt.web || ws.noServer) {
|
||||
this.to.next(root);
|
||||
return;// no server no sockets
|
||||
}
|
||||
ws.noServer = true;//workaround for ws.path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user