trying localhost

This commit is contained in:
Michael Shaw 2023-01-26 16:59:27 -05:00
parent ec4f8d386d
commit 07435d0597

View File

@ -49,7 +49,7 @@ func Server(ctx client.Context) {
router.Handle("/graphql", srv) router.Handle("/graphql", srv)
log.Info("Connect to GraphQL playground", "url", fmt.Sprintf("http://localhost:%s", port)) log.Info("Connect to GraphQL playground", "url", fmt.Sprintf("http://localhost:%s", port))
err := http.ListenAndServe("0.0.0.0:"+port, router) //nolint: all err := http.ListenAndServe("localhost:"+port, router) //nolint: all
if err != nil { if err != nil {
panic(err) panic(err)
} }