From 9ea0ec0e6fa0bd65c8d263a1cd418f83a3848a8b Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sun, 23 Jul 2017 10:15:12 -0600 Subject: adding bind option in CLI run cmd, including in system config --- system/admin/config/config.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system/admin/config') diff --git a/system/admin/config/config.go b/system/admin/config/config.go index 19da39b..83ca2f7 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -14,6 +14,7 @@ type Config struct { Name string `json:"name"` Domain string `json:"domain"` + BindAddress string `json:"bind_addr"` HTTPPort string `json:"http_port"` HTTPSPort string `json:"https_port"` AdminEmail string `json:"admin_email"` @@ -53,6 +54,11 @@ func (c *Config) MarshalEditor() ([]byte, error) { "placeholder": "e.g. www.example.com or example.com", }), }, + editor.Field{ + View: editor.Input("BindAddress", c, map[string]string{ + "type": "hidden", + }), + }, editor.Field{ View: editor.Input("HTTPPort", c, map[string]string{ "type": "hidden", -- cgit v1.2.3