chore: remove Gateway.APICommands
Remove unused and undocumented gateway configuration field introduced in go-ipfs v0.4
Henrique Dias committed
Jan 18, 2024 at 17:26 UTC
4790618a292b5d2c7b6ad788929484a07b48b767
2 files changed
-4
config/gateway.go
-3
@@ -53,9 +53,6 @@ type Gateway struct {
53
// PathPrefixes was removed: https://github.com/ipfs/go-ipfs/issues/7702
54
PathPrefixes []string
55
56
- // FIXME: Not yet implemented: https://github.com/ipfs/kubo/issues/8059
57
- APICommands []string
58
-
56
// NoFetch configures the gateway to _not_ fetch blocks in response to
57
// requests.
58
NoFetch bool
config/init.go
-1
@@ -68,7 +68,6 @@ func InitWithIdentity(identity Identity) (*Config, error) {
68
NoFetch: false,
69
PathPrefixes: []string{},
70
HTTPHeaders: map[string][]string{},
71
- APICommands: []string{},
71
},
72
Reprovider: Reprovider{
73
Interval: nil,