1
0
mirror of synced 2025-12-25 11:03:37 -05:00
Files
docs/includes/explorer.html
Kevin Heis a3ad549e39 Block a few more things in AIRGAP (#17657)
* Block a few more things in AIRGAP

* Update middleware/context.js

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

* Update product-landing.html

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2021-02-09 23:07:23 +00:00

12 lines
382 B
HTML

{% include breadcrumbs %}
<div class="graphql-container">
{% if process.env.AIRGAP %}
<p>GraphQL explorer is not available on this environment.</p>
{% else %}
<iframe id="graphiql" class="graphql-explorer" scrolling="no" src="{{ graphql.explorerUrl }}" allowfullscreen>
<p>You must have iframes enabled to use this feature.</p>
</iframe>
{% endif %}
</div>