Обновление фронтэнда

This commit is contained in:
2025-12-19 08:39:02 +03:00
parent 756e941f99
commit 16a043843a
6 changed files with 110 additions and 121 deletions
+7
View File
@@ -34,6 +34,13 @@ async def root(request: Request, app=Depends(get_app)):
return templates.TemplateResponse(request, "index.html", get_info(app))
@router.get("/auth", include_in_schema=False)
async def root(request: Request, app=Depends(get_app)):
"""Эндпоинт страницы авторизации"""
return templates.TemplateResponse(request, "auth.html", get_info(app))
@router.get("/api", include_in_schema=False)
async def root(request: Request, app=Depends(get_app)):
"""Страница с сылками на документацию API"""