From 46cb09b1fc6759cc5298cb2d9e18a66be3271154 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Tue, 13 Nov 2018 01:41:34 +0000 Subject: [PATCH] Actually listen to localhost --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 94406e1..e1c6607 100644 --- a/app.go +++ b/app.go @@ -243,7 +243,7 @@ func Serve() { http.Handle("/", r) log.Info("Serving on http://localhost:%d\n", app.cfg.Server.Port) log.Info("---") - err = http.ListenAndServe(fmt.Sprintf(":%d", app.cfg.Server.Port), nil) + err = http.ListenAndServe(fmt.Sprintf("localhost:%d", app.cfg.Server.Port), nil) if err != nil { log.Error("Unable to start: %v", err) os.Exit(1)