config: Added a gateway server address
Matt Bell committed
Dec 10, 2014 at 00:50 UTC
8603e8294f08d61433e7a9e8747f218f45b8a8d4
1 file changed
+3
-2
config/config.go
+3
-2
@@ -40,8 +40,9 @@ type Datastore struct {
40
41
// Addresses stores the (string) multiaddr addresses for the node.
42
type Addresses struct {
43
- Swarm []string // addresses for the swarm network
44
- API string // address for the local API (RPC)
43
+ Swarm []string // addresses for the swarm network
44
+ API string // address for the local API (RPC)
45
+ Gateway string // address to listen on for IPFS HTTP object gateway
46
}
47
48
// Mounts stores the (string) mount points