score:1

Accepted answer

as described in relay documentation. the endpoint your mentioned /graphql is what relay by default uses to communicate with graphql server. if you need to specify a different server and endpoint you would do:

relay.injectnetworklayer(
  new relay.defaultnetworklayer('http://example.com/graphql')
)

to modify relay's default graphql endpoint and server.


Related Query

More Query from same tag