From b052e82358c7de9e9c9f83eaeb5718dcedb6d707 Mon Sep 17 00:00:00 2001 From: icysanta Date: Mon, 1 Dec 2025 11:50:10 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=BE=D1=87=D0=BA=D0=B0=20=D0=B2=D1=85?= =?UTF-8?q?=D0=BE=D0=B4=D0=B0=20backend=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/main.py b/backend/main.py index 2252d4d..64dc5a0 100644 --- a/backend/main.py +++ b/backend/main.py @@ -20,10 +20,10 @@ def create_app() -> FastAPI: description="API для генерации лицензий Custom.mxtpro", version="1.0.0" ) - + # Подключение роутеров apps.include_router(license_router, prefix="/api") - + # Монтируем статические папки фронтенда apps.mount( "/static/css", @@ -40,7 +40,7 @@ def create_app() -> FastAPI: StaticFiles(directory=BASE_DIR.parent / "frontend" / "assets"), name="assets" ) - + # Отдача главной страницы @apps.get("/", include_in_schema=False) def read_index() -> FileResponse: