docs: fix example in README (#233)

The JSON in the example was missing some commas.
This commit is contained in:
Volker Mische 2018-08-13 17:10:40 +02:00 committed by Jacob Heun
parent 7b6c921d36
commit eddec7d2e4

View File

@ -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.