Skip to content

Commit c44d01d

Browse files
authored
chore: fix example credentials, /cdn netlify demo (#1478)
1 parent 43e7056 commit c44d01d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/graphiql-cdn/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
width: 100%;
1616
overflow: hidden;
1717
}
18+
1819
#graphiql {
1920
height: 100vh;
2021
}
@@ -43,6 +44,7 @@
4344
-->
4445
<link rel="stylesheet" href="https://unpkg.com/graphiql/graphiql.min.css" />
4546
</head>
47+
4648
<body>
4749
<div id="graphiql">Loading...</div>
4850
<script
@@ -61,7 +63,7 @@
6163
'Content-Type': 'application/json',
6264
},
6365
body: JSON.stringify(graphQLParams),
64-
credentials: 'include',
66+
credentials: 'omit',
6567
},
6668
).then(function (response) {
6769
return response.json().catch(function () {

0 commit comments

Comments
 (0)