Skip to content

Commit

Permalink
Correct subscriptions path in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Barlow committed Feb 9, 2021
1 parent 0e28183 commit 3528236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/data/subscriptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ This example server exposes one subscription (`numberIncremented`) that returns

After you start up this server, you can test out running a subscription with the Apollo Studio Explorer or GraphQL Playground, as described in the [full-stack tutorial](https://www.apollographql.com/docs/tutorial/schema/#explore-your-schema). You'll see the subscription's value update every second.

> In the Apollo Studio Explorer, you must specify your server's subscription endpoint (`ws://localhost:4000/graphql`) in the **Explorer Settings** tab.
> In the Apollo Studio Explorer, you must specify your server's subscription endpoint (`ws://localhost:4000/subscriptions`) in the **Explorer Settings** tab.
<ExpansionPanel title="Click to expand">

Expand Down

0 comments on commit 3528236

Please sign in to comment.