1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 02:23:18 +08:00

Merge pull request #4401 from leerspace/docs/config-announce

updating Addresses section
This commit is contained in:
Whyrusleeping
2017-11-21 08:49:32 -08:00
committed by GitHub

View File

@ -24,7 +24,7 @@ Contains information about various listener addresses to be used by this node.
- `API` - `API`
Multiaddr describing the address to serve the local HTTP API on. Multiaddr describing the address to serve the local HTTP API on.
Default: `/ip4/127.0.0.1/tcp/4001` Default: `/ip4/127.0.0.1/tcp/5001`
- `Gateway` - `Gateway`
Multiaddr describing the address to serve the local gateway on. Multiaddr describing the address to serve the local gateway on.
@ -42,6 +42,16 @@ Default:
] ]
``` ```
- `Announce`
If non-empty, this array specifies the swarm addresses to announce to the network. If empty, the daemon will announce inferred swarm addresses.
Default: `[]`
- `NoAnnounce`
Array of swarm addresses not to announce to the network.
Default: `[]`
## `API` ## `API`
Contains information used by the API gateway. Contains information used by the API gateway.