diff --git a/internal/server/input.go b/internal/server/input.go index 3e53aac..f71e117 100644 --- a/internal/server/input.go +++ b/internal/server/input.go @@ -21,9 +21,7 @@ func (s *credServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { } w.WriteHeader(200) _ = r.Body.Close() - go func() { - _ = s.listener.Close() - }() + _ = s.listener.Close() } // Input receives configuration via HTTP on the port and returns it decoded