From 65b01a731822ee634cf183cfb13ce4bd3e7b51e0 Mon Sep 17 00:00:00 2001 From: Bilal Date: Tue, 23 Jul 2024 09:09:09 +0100 Subject: [PATCH] fix explorer_plugin --- graphql_service/server.py | 2 +- graphql_service/templates/custom_graphiql.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/graphql_service/server.py b/graphql_service/server.py index e6e6a317..3ac9f3f0 100644 --- a/graphql_service/server.py +++ b/graphql_service/server.py @@ -156,7 +156,7 @@ def __init__( CUSTOM_GRAPHIQL_HTML, { "title": title, - # "enable_explorer_plugin": explorer_plugin, + "enable_explorer_plugin": explorer_plugin, "default_query": escape_default_query(default_query), }, ) diff --git a/graphql_service/templates/custom_graphiql.html b/graphql_service/templates/custom_graphiql.html index cc86962e..4059a371 100644 --- a/graphql_service/templates/custom_graphiql.html +++ b/graphql_service/templates/custom_graphiql.html @@ -111,9 +111,9 @@ border: 0; } - + {% if enable_explorer_plugin %} - + {% endif %} @@ -152,7 +152,7 @@ {% if enable_explorer_plugin %} {% endif %}