From d803e818bb803db4e70ed5260ad34d9388287112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sun, 19 May 2019 22:30:12 +0200 Subject: [PATCH] Bind to localhost. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1e2b234..7f31c38 100644 --- a/main.go +++ b/main.go @@ -104,7 +104,7 @@ func main() { )) // Listen HTTP - portString := ":" + strconv.Itoa(config.Port) + portString := "127.0.0.1:" + strconv.Itoa(config.Port) s := &http.Server{ Handler: router, Addr: portString,