From f0230bbbc3d90f63eec6472eb79f04dd58d6e498 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Thu, 11 Apr 2024 23:13:11 +0200 Subject: [PATCH] disabled docs --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index fedcdbd..4f381bb 100644 --- a/src/main.py +++ b/src/main.py @@ -32,7 +32,7 @@ if not exists(DATABASE): save_database(DATABASE, {'data-used': 0}) -api = FastAPI() +api = FastAPI(docs_url=None, redoc_url=None) class MaxSizePerRequestError(Exception):