You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playground doesn't work on URLs like this https://foo.com/comments/graphiql. https://foo.com/comments/ is the API getaway URL that routes to our comments service and comments service is based on Mercurius.
In this case code just ignores the part after host(in my case comments)
@mcollina we are deploying graphql api and using this package and we are also facing the same issue. I have created the fix . Please review and approve it.
const url =
${window.location.protocol}//${host}${window.GRAPHQL_ENDPOINT}``Playground doesn't work on URLs like this https://foo.com/comments/graphiql.
https://foo.com/comments/ is the API getaway URL that routes to our comments service and comments service is based on Mercurius.
In this case code just ignores the part after host(in my case comments)
And playground calls to wrong qraphql url. It calls https://foo.com/graphql instead of https://foo.com/comments/graphql
The text was updated successfully, but these errors were encountered: