From 6a49024e0ba2f03578164bf64a7d15ac056e591b Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 19 Dec 2016 09:17:53 -0800 Subject: contin. debugging host port issue in config --- cmd/ponzu/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go index b2b5e75..b77b7c9 100644 --- a/cmd/ponzu/main.go +++ b/cmd/ponzu/main.go @@ -296,6 +296,7 @@ func main() { // save the port the system is listening on so internal system can make // HTTP api calls while in dev or production w/o adding more cli flags + fmt.Println(port, "port from main") err := db.PutConfig("http_port", fmt.Sprintf("%d", port)) if err != nil { log.Fatalln("System failed to save config. Please try to run again.") -- cgit v1.2.3