Comments (1)
This sounds like an issue I've run into too. My problem is that render-playground-page.js uses URLs without specifying the protocol and fetches using "http" vs. "https" fail.
Note, until/unless this is fixed in the repo you will have to make this change every time you delete node_modules or reinstall all packages and overwrite your manual change.
In the following code change the URL after "void 0 ? ' from '//cdn.jsdelivr..' to 'https://cdn.jsdelivr...'
var getCdnMarkup = function (_a) {
var version = _a.version, _b = _a.cdnUrl, cdnUrl = _b === void 0 ? 'https://cdn.jsdelivr.net/npm' : _b, faviconUrl = _a.faviconUrl;
var buildCDNUrl = function (packageName, suffix) { return filter(cdnUrl + "/" + packageName + (version ? "@" + version : '') + "/" + suffix || ''); };
return "\n <link\n rel=\"stylesheet\"\n href=\"" + buildCDNUrl(reactPackageName, 'build/static/css/index.css') + "\"\n />\n " + (typeof faviconUrl === 'string' ? "<link rel=\"shortcut icon\" href=\"" + filter(faviconUrl || '') + "\" />" : '') + "\n " + (faviconUrl === undefined ? "<link rel=\"shortcut icon\" href=\"" + buildCDNUrl(reactPackageName, 'build/favicon.png') + "\" />" : '') + "\n <script\n src=\"" + buildCDNUrl(reactPackageName, 'build/static/js/middleware.js') + "\"\n ></script>\n";
};
from graphql-playground.
Related Issues (20)
- Error: Unable to find node on an unmounted component.
- V2 monaco rewrite - Needs Maintainers & Contributors! HOT 12
- Update `graphiql` dependency
- does not exist on type 'Register'.
- Demo link from NPM is broken
- select named query option not showing up HOT 1
- Add Changesets
- Playground stuck forever if I use await
- How to set playground only for specific env?
- "Reload Schema" does not work on Electron App; forced to quit/restart the app
- Option for disabling GraphQL playground from being loaded into an iframe to prevent clickjacking
- Interface implementing another interface breaks Schema tab HOT 4
- Flatpac build HOT 2
- Listening to Subscriptoin doesn't work
- Electron playground doesn't start
- support for linux HOT 1
- Update Prettier version to allow 'interfaces to implement other interfaces' HOT 1
- Remove ligatures
- Playground forces https on all requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-playground.