Основная точка входа backend API
Some checks failed
CI / backend (push) Failing after 8s
CI / frontend (push) Failing after 4s

This commit is contained in:
2025-12-01 11:42:36 +00:00
parent 06f0e5eb86
commit c6a8d7c804

View File

@@ -9,6 +9,7 @@ from .routes.license_routes import router as license_router
# Путь к корню проекта
BASE_DIR = Path(__file__).resolve().parent
def create_app() -> FastAPI:
"""
Создание и конфигурация FastAPI приложения.
@@ -51,5 +52,6 @@ def create_app() -> FastAPI:
return apps
# Экземпляр приложения
app: FastAPI = create_app()