From d9ab71d5c5aea74a56bf37ca87910309c5029d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 26 Oct 2018 01:55:25 +0200 Subject: [PATCH 1/2] Add Gateway.NoFetch --- config/gateway.go | 1 + config/init.go | 1 + 2 files changed, 2 insertions(+) diff --git a/config/gateway.go b/config/gateway.go index 7e64b566fb4f..017be9b285b6 100644 --- a/config/gateway.go +++ b/config/gateway.go @@ -7,4 +7,5 @@ type Gateway struct { Writable bool PathPrefixes []string APICommands []string + NoFetch bool } diff --git a/config/init.go b/config/init.go index f45a596737fb..0697cc4c9286 100644 --- a/config/init.go +++ b/config/init.go @@ -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{"*"}, From 4dee7fa8da25e3c38bf46ab71d8ebf47cfee80bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 3 Jan 2019 23:09:29 +0100 Subject: [PATCH 2/2] gx publish 0.2.23 --- config/.gx/lastpubver | 2 +- config/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/.gx/lastpubver b/config/.gx/lastpubver index da3cea2f05fa..c1e8fecedca2 100644 --- a/config/.gx/lastpubver +++ b/config/.gx/lastpubver @@ -1 +1 @@ -0.2.22: QmcZfkbgwwwH5ZLTQRHkSQBDiDqd3skY2eU6MZRgWuXcse +0.2.23: QmRd5T3VmYoX6jaNoZovFRQcwWHJqHgTVQTs1Qz92ELJ7C diff --git a/config/package.json b/config/package.json index 7d19c567821e..08588c6fb391 100644 --- a/config/package.json +++ b/config/package.json @@ -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" }