mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
go-ipfs-config: fix default-net profile not reverting bootstrap config
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
parent
18dec727d0
commit
97590c70cc
@ -86,6 +86,12 @@ Inverse profile of the test profile.`,
|
||||
Transform: func(c *Config) error {
|
||||
c.Addresses = addressesConfig()
|
||||
|
||||
bootstrapPeers, err := DefaultBootstrapPeers()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
c.Bootstrap = appendSingle(c.Bootstrap, BootstrapPeerStrings(bootstrapPeers))
|
||||
|
||||
c.Swarm.DisableNatPortMap = false
|
||||
c.Discovery.MDNS.Enabled = true
|
||||
return nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user