Skip to content

Commit 4f53de3

Browse files
ImTotemclaude
andcommitted
fix(graphql): disable GraphiQL UI in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ec3fd76 commit 4f53de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bcsd_api/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _mount_graphql(app: FastAPI) -> None:
8585
from .graphql.context import context_getter
8686
from .graphql.schema import schema
8787

88-
router = GraphQLRouter(schema, context_getter=context_getter)
88+
router = GraphQLRouter(schema, context_getter=context_getter, graphiql=False)
8989
app.include_router(router, prefix="/graphql")
9090

9191

0 commit comments

Comments
 (0)