diff --git a/app.py b/app.py index 868d1fc0a60a1bd78a74d16f05d256e829449d3a..2f93e11c008ecd8d38753909bbf6e0655d8b4831 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 ) )