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