Skip to content

Commit 0f531ee

Browse files
committed
Explicit mdns=false webrtcstart=true
1 parent ee6712d commit 0f531ee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

spawn-node.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ function spawnNode (options, callback) {
2222
const wstarMultiaddr = `/libp2p-webrtc-star/dns/${signalDomain}/wss/ipfs/${config.Identity.PeerID}`
2323

2424
config.Addresses.Swarm = [ wstarMultiaddr ]
25-
config.Discovery.MDNS.Enabled = false
25+
config.Discovery = {
26+
MDNS: {
27+
Enabled: false
28+
},
29+
webRTCStar: {
30+
Enabled: true
31+
}
32+
}
2633

2734
node.config.replace(config, cb)
2835
})

0 commit comments

Comments
 (0)