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

Missing CDN files #16

Open
pjotterplotter opened this issue Jul 6, 2021 · 0 comments
Open

Missing CDN files #16

pjotterplotter opened this issue Jul 6, 2021 · 0 comments

Comments

@pjotterplotter
Copy link

pjotterplotter commented Jul 6, 2021

I installed the latest version, but it appears that some of the required frontend libraries are missing for the graphiql frontend:

graphql_app = GraphQLApp(schema=graphene.Schema(query=GraphQLQueries, subscription=Subscription), on_get=make_playground_handler())
app.mount("/graphql", graphql_app)

127.0.0.1/:15 GET https://unpkg.com/graphiql/graphiql.css net::ERR_ABORTED 404
127.0.0.1/:17 GET https://unpkg.com/react-dom@16/umd/react-dom.production.min.js net::ERR_ABORTED 404
127.0.0.1/:22 GET https://unpkg.com/graphiql/graphiql.min.js net::ERR_ABORTED 404
127.0.0.1/:18 GET https://unpkg.com/[email protected]/browser/client.js net::ERR_ABORTED 404
127.0.0.1/:16 GET https://unpkg.com/react@16/umd/react.production.min.js net::ERR_ABORTED 404
127.0.0.1/:17 GET https://unpkg.com/react-dom@16/umd/react-dom.production.min.js net::ERR_ABORTED 404
127.0.0.1/:18 GET https://unpkg.com/[email protected]/browser/client.js net::ERR_ABORTED 404
127.0.0.1/:22 GET https://unpkg.com/graphiql/graphiql.min.js net::ERR_ABORTED 404

Maybe it would also be nice if there is an option to provide custom urls for these libraries, so you could host them yourself or point to another cdn?

PS: there are no problems when using the make_playground_handler

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

1 participant