diff --git a/get_data.py b/get_data.py index 15f6e8a..f1322b0 100644 --- a/get_data.py +++ b/get_data.py @@ -1000,7 +1000,12 @@ async def lifespan(app: FastAPI): thread_status_broadcaster.join(timeout=1) -app = FastAPI(lifespan=lifespan) +app = FastAPI( + lifespan=lifespan, + docs_url=None, # ❌ отключает /docs + redoc_url=None, # ❌ отключает /redoc + openapi_url=None # ❌ отключает /openapi.json +) def format_time(seconds: float | int) -> str: