Skip to content
Snippets Groups Projects
Verified Commit 6d87c732 authored by Mark's avatar Mark
Browse files

Disable GraphiQL interface in prod

parent f0ba0f97
No related branches found
No related tags found
No related merge requests found
......@@ -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
)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment