Fix typos

This commit is contained in:
Dimitris Apostolou 2022-03-13 10:44:38 +02:00 committed by Jorropo
parent 09aed2d63b
commit 6c6a55056d
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ package config
type Addresses struct {
Swarm []string // addresses for the swarm to listen on
Announce []string // swarm addresses to announce to the network, if len > 0 replaces auto detected addresses
AppendAnnounce []string // similar to Announce but doesn't overwride auto detected addresses, they are just appended
AppendAnnounce []string // similar to Announce but doesn't overwrite auto detected addresses, they are just appended
NoAnnounce []string // swarm addresses not to announce to the network
API Strings // address for the local API (RPC)
Gateway Strings // address to listen on for IPFS HTTP object gateway

View File

@ -62,7 +62,7 @@ type Gateway struct {
// NoDNSLink configures the gateway to _not_ perform DNS TXT record
// lookups in response to requests with values in `Host` HTTP header.
// This flag can be overriden per FQDN in PublicGateways.
// This flag can be overridden per FQDN in PublicGateways.
NoDNSLink bool
// PublicGateways configures behavior of known public gateways.

View File

@ -29,7 +29,7 @@ type SwarmConfig struct {
// Node will find and use advertised public relays when it determines that
// it's not reachable from the public internet.
//
// Deprecated: This flag is deprecated and is overriden by
// Deprecated: This flag is deprecated and is overridden by
// `Swarm.RelayClient.Enabled` if specified.
EnableAutoRelay bool `json:",omitempty"`