fix-testing

This commit is contained in:
tonyrewin 2022-12-14 11:35:47 +03:00
parent 3e282bb354
commit 96b209055a

View File

@ -78,7 +78,7 @@ app = Starlette(
middleware=middleware,
routes=routes,
)
app.mount("/graphql", GraphQL(
app.mount("/", GraphQL(
schema,
debug=True,
# websocket_handler=GraphQLTransportWSHandler(
@ -94,7 +94,7 @@ dev_app = app = Starlette(
middleware=middleware,
routes=routes,
)
dev_app.mount("/graphql", GraphQL(
dev_app.mount("/", GraphQL(
schema,
debug=True,
# websocket_handler=GraphQLTransportWSHandler(