diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-01-13 11:58:39 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-01-13 11:58:39 -0800 |
commit | 59ee9fbb237673c2d0cccad42f7adbae65852b8d (patch) | |
tree | 3326e7c43eef2483fff5e24b7e2f840fb94b4d38 /system/admin/handlers.go | |
parent | 3249b82b2a4f1aa0ae9e6943cd72dd7eebae8a4a (diff) |
changing ConfigCache to return interface{}
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index c39fee4..59e7a66 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -92,7 +92,7 @@ func initHandler(res http.ResponseWriter, req *http.Request) { } // set HTTP port which should be previously added to config cache - port := db.ConfigCache("http_port") + port := db.ConfigCache("http_port").(string) req.Form.Set("http_port", port) // set initial user email as admin_email and make config |