Compare commits
No commits in common. "e25c29b2a697058b577f069bc567e40328d8c5ef" and "fe5f3ced393405a24417d0d35f0d1698040fa1a4" have entirely different histories.
e25c29b2a6
...
fe5f3ced39
@ -1,5 +1,5 @@
|
||||
from ariadne import graphql_sync
|
||||
from ariadne.explorer import ExplorerPlayground
|
||||
from ariadne.explorer import ExplorerGraphiQL
|
||||
from cpl_core.configuration import ConfigurationABC
|
||||
from cpl_core.environment import ApplicationEnvironmentABC
|
||||
from flask import request, jsonify
|
||||
@ -30,7 +30,7 @@ class GraphQLController:
|
||||
if self._env.environment_name != "development":
|
||||
return "", 403
|
||||
|
||||
return ExplorerPlayground().html(None), 200
|
||||
return ExplorerGraphiQL().html(None), 200
|
||||
|
||||
@Route.post(f"{BasePath}")
|
||||
@Route.authorize(by_api_key=True)
|
||||
|
Loading…
Reference in New Issue
Block a user