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: