forked from dadish/ProcessGraphQL
-
Notifications
You must be signed in to change notification settings - Fork 0
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
DMZ Broken #1
Comments
Unable to use application when offline due to script fetching from outside network. |
From my old notes /** Check if in debub mode and setup returned assets */
$ext = $this->config->debug ? "development" : "production.min";
// GraphiQL 1.0.x is causing issues where the 'History' and 'Docs" will not be collapsed properly
// after a page reload. I suspect it's how graphiql js is initialized from partial.php
$this->config->scripts->add($this->config->urls->templates . "js/es6-promise.auto.min.js");
$this->config->scripts->add($this->config->urls->templates . "js/fetch.umd.js");
$this->config->scripts->add($this->config->urls->templates . "js/react.$ext.js");
$this->config->scripts->add($this->config->urls->templates . "js/react-dom.$ext.js");
$this->config->scripts->add($this->config->urls->templates . "js/graphiql.min.js");
$this->config->styles->add($this->config->urls->templates . 'css/graphiql.min.css');
// Original
$this->config->scripts->add("https://unpkg.com/[email protected]/dist/es6-promise.auto.min.js");
$this->config->scripts->add("https://unpkg.com/[email protected]/dist/fetch.umd.js");
$this->config->scripts->add("https://unpkg.com/[email protected]/umd/react.production.min.js");
$this->config->scripts->add("https://unpkg.com/[email protected]/umd/react-dom.production.min.js");
$this->config->scripts->add('https://unpkg.com/[email protected]/graphiql.min.js');
$this->config->styles->add('https://unpkg.com/[email protected]/graphiql.css'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to change the assets to address DMZ mode.
ProcessGraphQL/ProcessGraphQL.module
Line 135 in 530a72e
The text was updated successfully, but these errors were encountered: