We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228dd23 commit f67d384Copy full SHA for f67d384
static/index.html
@@ -14,7 +14,7 @@
14
<meta name="description" content="Pokeapi GraphiQL" />
15
<script>
16
window.__env = {
17
- graphqlEndpoint: 'http://localhost/graphql/v1beta',
+ graphqlEndpoint: window.location.protocol + '//' + window.location.hostname + '/graphql/v1beta',
18
headers: '',
19
variables: '',
20
query: 'doesnt work'
0 commit comments