mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00
chore: remove Gateway.APICommands
Remove unused and undocumented gateway configuration field introduced in go-ipfs v0.4
This commit is contained in:
@ -53,9 +53,6 @@ type Gateway struct {
|
||||
// PathPrefixes was removed: https://github.com/ipfs/go-ipfs/issues/7702
|
||||
PathPrefixes []string
|
||||
|
||||
// FIXME: Not yet implemented: https://github.com/ipfs/kubo/issues/8059
|
||||
APICommands []string
|
||||
|
||||
// NoFetch configures the gateway to _not_ fetch blocks in response to
|
||||
// requests.
|
||||
NoFetch bool
|
||||
|
@ -68,7 +68,6 @@ func InitWithIdentity(identity Identity) (*Config, error) {
|
||||
NoFetch: false,
|
||||
PathPrefixes: []string{},
|
||||
HTTPHeaders: map[string][]string{},
|
||||
APICommands: []string{},
|
||||
},
|
||||
Reprovider: Reprovider{
|
||||
Interval: nil,
|
||||
|
Reference in New Issue
Block a user