mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
disable multicast by default :(
This commit is contained in:
parent
16634cf023
commit
e9fc38ddd1
@ -3,7 +3,8 @@ var Gun = (typeof window !== "undefined")? window.Gun : require('../gun');
|
||||
Gun.on('create', function(root){
|
||||
this.to.next(root);
|
||||
var opt = root.opt;
|
||||
if(false === opt.multicast){ return }
|
||||
if(false === opt.multicast){ return }
|
||||
if(true !== opt.multicast){ return } // disable multicast by default for now.
|
||||
|
||||
var udp = opt.multicast = opt.multicast || {};
|
||||
udp.address = udp.address || '233.255.255.255';
|
||||
|
Loading…
x
Reference in New Issue
Block a user