1
0
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:
Henrique Dias
2024-01-18 17:26:54 +01:00
parent c0d7da22a2
commit 4790618a29
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -68,7 +68,6 @@ func InitWithIdentity(identity Identity) (*Config, error) {
NoFetch: false,
PathPrefixes: []string{},
HTTPHeaders: map[string][]string{},
APICommands: []string{},
},
Reprovider: Reprovider{
Interval: nil,