diff --git a/reports-app/telegram-bot/app/api/client.py b/reports-app/telegram-bot/app/api/client.py index 6ba46db..a802d7b 100644 --- a/reports-app/telegram-bot/app/api/client.py +++ b/reports-app/telegram-bot/app/api/client.py @@ -16,7 +16,8 @@ from httpx import AsyncClient, Response, HTTPError, ConnectError logger = logging.getLogger(__name__) # Backend configuration from environment -BACKEND_URL = os.getenv("BACKEND_URL", "http://localhost:8001") +# Default to port 8000 (production) instead of 8001 (development) +BACKEND_URL = os.getenv("BACKEND_URL", "http://localhost:8000") REQUEST_TIMEOUT = float(os.getenv("API_TIMEOUT", "30.0")) # 30 seconds default