From f7154870291066b53ae7307925748f17d58ea1e9 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 19 Dec 2016 10:29:21 -0800 Subject: contin. debugging host port issue in config --- system/admin/admin.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'system/admin/admin.go') diff --git a/system/admin/admin.go b/system/admin/admin.go index 53948af..a0ac180 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -86,9 +86,10 @@ var endAdminHTML = ` ` type admin struct { - Logo string - Types map[string]func() interface{} - Subview template.HTML + Logo string + Types map[string]func() interface{} + Subview template.HTML + HTTPPort string } // Admin ... @@ -146,6 +147,7 @@ var initAdminHTML = ` + @@ -179,7 +181,8 @@ func Init() ([]byte, error) { } a := admin{ - Logo: string(cfg), + Logo: string(cfg), + HTTPPort: db.ConfigCache("http_port"), } buf := &bytes.Buffer{} -- cgit v1.2.3