From 0d89c25f414520d8908d5d8b24834a50400fb77b Mon Sep 17 00:00:00 2001 From: Guillaume Filliere Date: Wed, 6 Apr 2016 17:27:16 +0200 Subject: [PATCH 1/2] Update graphiql --- Resources/views/GraphiQL/index.html.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Resources/views/GraphiQL/index.html.twig b/Resources/views/GraphiQL/index.html.twig index 37dbc2745..f37f58f97 100644 --- a/Resources/views/GraphiQL/index.html.twig +++ b/Resources/views/GraphiQL/index.html.twig @@ -11,11 +11,11 @@ overflow: hidden; } - + {% endblock style %} - - - + + + {% block title %}GraphiQL{% endblock title %} {% endblock head %} From 0b79e40969823eef4136c2910b437a048fb0d8f5 Mon Sep 17 00:00:00 2001 From: Guillaume Filliere Date: Wed, 6 Apr 2016 17:27:49 +0200 Subject: [PATCH 2/2] Add credentials options to fetch paramaters --- Resources/views/GraphiQL/index.html.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/views/GraphiQL/index.html.twig b/Resources/views/GraphiQL/index.html.twig index f37f58f97..481db6692 100644 --- a/Resources/views/GraphiQL/index.html.twig +++ b/Resources/views/GraphiQL/index.html.twig @@ -38,6 +38,7 @@ method: "post", headers: headers, body: JSON.stringify(params), + credentials: 'include', }).then((res) => { return res.text() }).then((body) => {