mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-30 22:31:03 +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.
|
config: { // The config object is the part of the config that can go into a file, config.json.
|
||||||
peerDiscovery: {
|
peerDiscovery: {
|
||||||
mdns: { // mdns options
|
mdns: { // mdns options
|
||||||
interval: 1000 // ms
|
interval: 1000, // ms
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
webrtcStar: { // webrtc-star options
|
webrtcStar: { // webrtc-star options
|
||||||
interval: 1000 // ms
|
interval: 1000, // ms
|
||||||
enabled: false
|
enabled: false
|
||||||
}
|
}
|
||||||
// .. other discovery module options.
|
// .. other discovery module options.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user