fix errors

This commit is contained in:
2025-09-04 21:44:48 +03:00
parent 2fcee9f065
commit 6a1f685ee3
3 changed files with 8 additions and 6 deletions

View File

@@ -2,12 +2,8 @@
Модуль для работы с API
"""
import requests
import os
from typing import Dict, Any, List, Tuple
# Конфигурация API
API_BASE_URL = os.getenv("API_BASE_URL", "http://fastapi:8000") # Внутренний адрес для Docker
API_PUBLIC_URL = os.getenv("API_PUBLIC_URL", "http://localhost:8000") # Внешний адрес для пользователя
from config import API_BASE_URL, API_PUBLIC_URL
def check_api_health() -> bool: