mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-03 04:37:30 +08:00
cmd/ipfs: Add empty gateway object when initting config
This commit is contained in:

committed by
Juan Batiz-Benet

parent
7c5b276179
commit
df97b968a1
@ -50,6 +50,10 @@ func Init(nBitsForKeypair int) (*Config, error) {
|
|||||||
// tracking ipfs version used to generate the init folder and adding
|
// tracking ipfs version used to generate the init folder and adding
|
||||||
// update checker default setting.
|
// update checker default setting.
|
||||||
Version: VersionDefaultValue(),
|
Version: VersionDefaultValue(),
|
||||||
|
|
||||||
|
Gateway: Gateway{
|
||||||
|
RootRedirect: "",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
return conf, nil
|
return conf, nil
|
||||||
|
Reference in New Issue
Block a user