Skip to content

Commit

Permalink
Update wire.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatusiak committed Nov 24, 2023
1 parent 22a2380 commit fd19a00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wire.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd19a00

Please sign in to comment.