AI Update: برو بعدی

This commit is contained in:
mamad
2026-08-30 00:08:21 +03:30
parent 59f3d35fa3
commit 93da699a0f
+2 -2
View File
@@ -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