Skip to content

Commit

Permalink
docs: fix example in README (#233)
Browse files Browse the repository at this point in the history
The JSON in the example was missing some commas.
  • Loading branch information
vmx authored and jacobheun committed Aug 13, 2018
1 parent 7b6c921 commit eddec7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eddec7d

Please sign in to comment.