Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit cc9366c

Browse files
chore: Remove GQL playground access from prod
1 parent 40302f4 commit cc9366c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codecov/settings_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
)
351351
CORS_ALLOWED_ORIGINS: list[str] = []
352352

353-
GRAPHQL_PLAYGROUND = True
353+
GRAPHQL_PLAYGROUND = get_settings_module() in [SettingsModule.DEV.value, SettingsModule.STAGING.value, SettingsModule.TESTING.value]
354354

355355
UPLOAD_THROTTLING_ENABLED = get_config(
356356
"setup", "upload_throttling_enabled", default=True

0 commit comments

Comments
 (0)