From 6d87c7326f157c0c1481ca1ca7a856286dc45dc5 Mon Sep 17 00:00:00 2001 From: Mark <mark@openappstack.net> Date: Mon, 9 Sep 2019 13:48:38 +0200 Subject: [PATCH] Disable GraphiQL interface in prod --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 868d1fc..2f93e11 100644 --- a/app.py +++ b/app.py @@ -18,7 +18,7 @@ app.add_url_rule( view_func=GraphQLView.as_view( 'graphql', schema=schema, - graphiql=True # for having the GraphiQL interface + graphiql=app.debug # for having the GraphiQL interface ) ) -- GitLab