contra/graphql-helix

GraphiQL is posting on another URL.

alphatst1 opened this issue · 1 comments

A have an API route on domain/api/graphql but when i check the network request on GraphiQL playground its accessing domain/graphql. There's no problem when making queries on the client, just when i active GraphiQL playground. Is there a way to change the graphql url path on the server.

Solution is to set an endpoint object on the renderGraphiQL.