summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ponzu/main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go
index c03a4df..b2b5e75 100644
--- a/cmd/ponzu/main.go
+++ b/cmd/ponzu/main.go
@@ -296,15 +296,11 @@ 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.")
}
- cfg, _ := db.ConfigAll()
- fmt.Println(string(cfg))
-
log.Fatalln(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
case "":