diff --git a/config/gateway.go b/config/gateway.go index 07bc9aad2..a8ba70590 100644 --- a/config/gateway.go +++ b/config/gateway.go @@ -5,4 +5,5 @@ type Gateway struct { HTTPHeaders map[string][]string // HTTP headers to return with the gateway RootRedirect string Writable bool + PathPrefixes []string } diff --git a/config/init.go b/config/init.go index 1cbc9f495..3dbc1b3f5 100644 --- a/config/init.go +++ b/config/init.go @@ -65,6 +65,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { Gateway: Gateway{ RootRedirect: "", Writable: false, + PathPrefixes: []string{}, }, }