From f6b7b582e948fb894e6144275ecb7252a2da2461 Mon Sep 17 00:00:00 2001 From: Christopher Garvis Date: Mon, 12 Oct 2015 16:17:37 -0400 Subject: [PATCH] Set `credentials` to `include` in graphQLFetcher --- src/renderGraphiQL.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderGraphiQL.js b/src/renderGraphiQL.js index 566a2316..dc9c8c57 100644 --- a/src/renderGraphiQL.js +++ b/src/renderGraphiQL.js @@ -85,6 +85,7 @@ add "&raw" to the end of the URL within a browser. method: 'post', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(graphQLParams), + credentials: 'include', }).then(function (response) { return response.json() });