graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.75k stars 731 forks source link

is there a way so we can use this playground in offline mode? #1281

Open judicaelandria opened 3 years ago

judicaelandria commented 3 years ago

This issue pertains to the following package(s):

What OS and OS version are you experiencing the issue(s) on?

Windows 10 1903

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

latest version

What is the expected behavior?

running the playground event without internet access

What is the actual behavior?

I can't access the playground in offline mode because the playground fetch some middleware and CSS from the CDN

What steps may we take to reproduce the behavior?

disable internet connection, work on offline

2020-10-02-10-22-29

bke-daniel commented 3 years ago

@judicaelandria This seems very much related to this: https://github.com/graphql/graphql-playground/issues/1283#issuecomment-703631091 Guess you need to update your helmet config.

judicaelandria commented 3 years ago

I'm not using a helmet, my playground work if I'm online but when offline it doesn't work I saw that the playground fetch something from the CDN, and want to ask if we have an alternative? thanks!