diff --git a/config/gateway.go b/config/gateway.go index 7bc3eb020..c0885778d 100644 --- a/config/gateway.go +++ b/config/gateway.go @@ -3,4 +3,5 @@ package config // Gateway contains options for the HTTP gateway server. type Gateway struct { RootRedirect string + Writable bool } diff --git a/config/init.go b/config/init.go index aef5624ec..976d26688 100644 --- a/config/init.go +++ b/config/init.go @@ -54,6 +54,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { Gateway: Gateway{ RootRedirect: "", + Writable: false, }, }