mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-16 07:30:51 +00:00
docs: fix example in README (#233)
The JSON in the example was missing some commas.
This commit is contained in:
parent
7b6c921d36
commit
eddec7d2e4
@ -149,11 +149,11 @@ class Node extends libp2p {
|
||||
config: { // The config object is the part of the config that can go into a file, config.json.
|
||||
peerDiscovery: {
|
||||
mdns: { // mdns options
|
||||
interval: 1000 // ms
|
||||
interval: 1000, // ms
|
||||
enabled: true
|
||||
},
|
||||
webrtcStar: { // webrtc-star options
|
||||
interval: 1000 // ms
|
||||
interval: 1000, // ms
|
||||
enabled: false
|
||||
}
|
||||
// .. other discovery module options.
|
||||
|
Loading…
x
Reference in New Issue
Block a user