diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-04 10:27:10 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-04 10:27:10 -0800 |
commit | fc51643434c5eef8417a62b9f83fec3823c393ec (patch) | |
tree | cc14f61b15c0b7e88608f30c4a82b35ccb92b660 /system/admin/config/config.go | |
parent | 76ae3f53e0c294f13c15fccd9be89ec472a8deee (diff) |
adding httpsport and https_port to flags and config
Diffstat (limited to 'system/admin/config/config.go')
-rw-r--r-- | system/admin/config/config.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/admin/config/config.go b/system/admin/config/config.go index fdc1ae4..2bc80c6 100644 --- a/system/admin/config/config.go +++ b/system/admin/config/config.go @@ -13,6 +13,7 @@ type Config struct { Name string `json:"name"` Domain string `json:"domain"` HTTPPort string `json:"http_port"` + HTTPSPort string `json:"https_port"` AdminEmail string `json:"admin_email"` ClientSecret string `json:"client_secret"` Etag string `json:"etag"` @@ -46,6 +47,11 @@ func (c *Config) MarshalEditor() ([]byte, error) { }), }, editor.Field{ + View: editor.Input("HTTPSPort", c, map[string]string{ + "type": "hidden", + }), + }, + editor.Field{ View: editor.Input("AdminEmail", c, map[string]string{ "label": "Adminstrator Email (will be notified of internal system information)", }), |