Skip to content

Commit

Permalink
Log gql endpoint correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Sep 19, 2024
1 parent 09b49c6 commit 8d415c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (n *Node) Start(ctx context.Context) error {
}
log.InfoContext(ctx,
fmt.Sprintf("Providing HTTP API at %s PlaygroundEnabled=%t", n.Server.Address(), http.PlaygroundEnabled))
log.InfoContext(ctx, fmt.Sprintf("Providing GraphQL endpoint at %s/v0/graphql", n.Server.Address()))
log.InfoContext(ctx, fmt.Sprintf("Providing GraphQL endpoint at %s/api/v0/graphql", n.Server.Address()))

Check warning on line 166 in node/node.go

View check run for this annotation

Codecov / codecov/patch

node/node.go#L166

Added line #L166 was not covered by tests
go func() {
if err := n.Server.Serve(); err != nil && !errors.Is(err, gohttp.ErrServerClosed) {
log.ErrorContextE(ctx, "HTTP server stopped", err)
Expand Down

0 comments on commit 8d415c8

Please sign in to comment.