Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscriptions not working in /playground #21

Closed
nreoch9 opened this issue Feb 4, 2019 · 0 comments
Closed

Subscriptions not working in /playground #21

nreoch9 opened this issue Feb 4, 2019 · 0 comments

Comments

@nreoch9
Copy link

nreoch9 commented Feb 4, 2019

Hello. I couldn't get the subscriptions firing in the /playground url.

I added the subscriptionEndpoint property to fix it.

app.get( "/playground", expressPlayground({ endpoint: "/graphql", subscriptionEndpoint: "ws://localhost:4000/graphql" }) );

Hope this helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants