From c80f690c5de9c4ab6aaa093f554e6bfe116b560d Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Fri, 27 Jan 2023 10:48:00 -0500 Subject: [PATCH] revert ListenAndServe --- gql/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gql/server.go b/gql/server.go index b865c58a..32337856 100644 --- a/gql/server.go +++ b/gql/server.go @@ -49,7 +49,7 @@ func Server(ctx client.Context) { router.Handle("/graphql", srv) log.Info("Connect to GraphQL playground", "url", fmt.Sprintf("http://localhost:%s", port)) - err := http.ListenAndServe("localhost:"+port, router) //nolint: all + err := http.ListenAndServe(":"+port, router) //nolint: all if err != nil { panic(err) }