Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#19 from ipfs/feat/gw-nofetch
Browse files Browse the repository at this point in the history
Gateway.NoFetch
  • Loading branch information
magik6k authored Jan 7, 2019
2 parents 98b8e25 + ed49cac commit b97a487
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/.gx/lastpubver
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.22: QmcZfkbgwwwH5ZLTQRHkSQBDiDqd3skY2eU6MZRgWuXcse
0.2.23: QmRd5T3VmYoX6jaNoZovFRQcwWHJqHgTVQTs1Qz92ELJ7C
1 change: 1 addition & 0 deletions config/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ type Gateway struct {
Writable bool
PathPrefixes []string
APICommands []string
NoFetch bool
}
1 change: 1 addition & 0 deletions config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
Gateway: Gateway{
RootRedirect: "",
Writable: false,
NoFetch: false,
PathPrefixes: []string{},
HTTPHeaders: map[string][]string{
"Access-Control-Allow-Origin": []string{"*"},
Expand Down
2 changes: 1 addition & 1 deletion config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"license": "",
"name": "go-ipfs-config",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.2.22"
"version": "0.2.23"
}

0 comments on commit b97a487

Please sign in to comment.