Skip to content

Commit

Permalink
Merge branch 'abernix/disclose-production-differences-in-getting-star…
Browse files Browse the repository at this point in the history
…ted'
  • Loading branch information
abernix committed Oct 8, 2019
2 parents 6a4b681 + e548a8c commit f805c71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ We're up and running!
We can now execute GraphQL queries on our server. To execute our first query,
we'll use a tool called **GraphQL Playground**.

> **Note:** If your server is deployed to an environment where `NODE_ENV` is
> set to `production`, GraphQL Playground and introspection will be disabled by
> default. To enable them, you'll need to explicitly set `playground: true` and
> `introspection: true` within [the options to `ApolloServer`'s
> constructor](https://www.apollographql.com/docs/apollo-server/api/apollo-server/#apolloserver).
With your server still running, visit `http://localhost:4000` in your browser
to open GraphQL Playground. (Apollo Server hosts GraphQL Playground automatically
when you run it in development.)
Expand Down

0 comments on commit f805c71

Please sign in to comment.