mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
go-ipfs-config: cmd/ipfs: Add empty gateway object when initting config
This commit is contained in:
parent
2217c97632
commit
6579236d39
@ -50,6 +50,10 @@ func Init(nBitsForKeypair int) (*Config, error) {
|
||||
// tracking ipfs version used to generate the init folder and adding
|
||||
// update checker default setting.
|
||||
Version: VersionDefaultValue(),
|
||||
|
||||
Gateway: Gateway{
|
||||
RootRedirect: "",
|
||||
},
|
||||
}
|
||||
|
||||
return conf, nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user