diff --git a/cmd/web/web.go b/cmd/web/web.go index 665162c..f9bc078 100644 --- a/cmd/web/web.go +++ b/cmd/web/web.go @@ -13,7 +13,7 @@ func main() { srv := &http.Server{ Handler: r, - Addr: "0.0.0.0:8080", + Addr: ":8080", // Good practice: enforce timeouts for servers you create! WriteTimeout: 15 * time.Second, ReadTimeout: 15 * time.Second,