diff --git a/core/proxy.py b/core/proxy.py index 27f6486..d01bffb 100644 --- a/core/proxy.py +++ b/core/proxy.py @@ -2,8 +2,8 @@ import os from typing import Optional, Dict, Any def get_telegram_proxy() -> Optional[Dict[str, Any]]: - # Only enable proxy if TELEGRAM_PROXY_ENABLE is 'true' or if local port 10809/10808 is requested - enable = os.getenv("TELEGRAM_PROXY_ENABLE", "true").lower() in ("true", "1", "yes") + # Only enable proxy if TELEGRAM_PROXY_ENABLE is 'true' + enable = os.getenv("TELEGRAM_PROXY_ENABLE", "false").lower() in ("true", "1", "yes") if not enable: return None