Skip to content

Commit

Permalink
chore: remove Gateway.APICommands
Browse files Browse the repository at this point in the history
Remove unused and undocumented gateway configuration field introduced in go-ipfs v0.4
  • Loading branch information
hacdias committed Jan 18, 2024
1 parent c0d7da2 commit 4790618
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions config/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func InitWithIdentity(identity Identity) (*Config, error) {
NoFetch: false,
PathPrefixes: []string{},
HTTPHeaders: map[string][]string{},
APICommands: []string{},
},
Reprovider: Reprovider{
Interval: nil,
Expand Down

0 comments on commit 4790618

Please sign in to comment.