GraphQL Playground loading error
See original GitHub issueI’m getting a couple errors while trying to access the GraphQL Playground. I’ve replicated this error with a modified project, as well as a new clone of the repo.
After following the instructions to get the app running locally, I go to http://localhost:4000/playground and see “Loading GraphQL Playground” in the browser. The console has two errors: Failed to load resource: net::ERR_CONTENT_DECODING_FAILED
and Uncaught ReferenceError: GraphQLPlayground is not defined
.
The first error is referencing middleware.js here: http://cdn.jsdelivr.net/npm/graphql-playground@1.1.2/build/static/js/middleware.js
but I think it should be an https url instead, like this: https://cdn.jsdelivr.net/npm/graphql-playground@1.1.2/build/static/js/middleware.js
I was unable to find where this is being called in the repo. Any advice?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
Playground is now loading, however the
graphql
endpoint is coming up asundefined
. I’ve found and documented a workaround on issue #287 of the graphql-playground repo. Thanks @sid88in for your help and recent updates.@JstnEdr please how did you resolve the first problem