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

Fix: fetching codegate env var logic #1331

Merged
merged 1 commit into from
Apr 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/codegate/updates/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

__update_client_singleton = None

is_dev_env = bool(os.environ.get("CODEGATE_DEV_ENV"))

is_dev_env = os.environ.get("CODEGATE_DEV_ENV", "false").lower() == "true"

# Enum representing whether the request is coming from the front-end or the back-end.
class Origin(Enum):
Expand Down
Loading