summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-19 11:04:20 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-19 11:04:20 -0800
commit43fd3472dd9d19aa1f602ce3fd3555f03312b99b (patch)
treefcd1a2e891a530d8812538c8bebe39f6fc491980 /system/admin/handlers.go
parentbab8caaf4d599da47f296bc9e2940b11cb37aa4f (diff)
adding http port to config and removing hardcoded url from addons api
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r--system/admin/handlers.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index b9408cf..266535a 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -85,7 +85,6 @@ func initHandler(res http.ResponseWriter, req *http.Request) {
// set HTTP port which should be previously added to config cache
port := db.ConfigCache("http_port")
- fmt.Println("port from config (init handler)", port)
req.Form.Set("http_port", port)
// set initial user email as admin_email and make config
@@ -1294,7 +1293,6 @@ func editHandler(res http.ResponseWriter, req *http.Request) {
}
if len(data) < 1 || data == nil {
- fmt.Println(string(data))
res.WriteHeader(http.StatusNotFound)
errView, err := Error404()
if err != nil {