forked from cerc-io/laconicd-deprecated
listen on 0.0.0.0 specfically
This commit is contained in:
parent
87e873dc18
commit
ec4f8d386d
@ -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(":"+port, router) //nolint: all
|
||||
err := http.ListenAndServe("0.0.0.0:"+port, router) //nolint: all
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user