feat: ЛР4 - S3 хранилище MinIO, загрузка вложений и защита от атак

This commit is contained in:
Ильяс
2026-11-06 15:59:44 +03:00
parent 9b574fa5e9
commit 4979731408
24 changed files with 1418 additions and 72 deletions
+3 -1
View File
@@ -9,6 +9,7 @@ from fastapi import FastAPI
from app.config import APP_HOST, APP_PORT, LOG_LEVEL
from app.errors import register_error_handlers
from app.middleware import RequestIdAndLoggingMiddleware
from app.routes.attachments import router as attachments_router
from app.routes.auth import router as auth_router
from app.routes.chats import router as chats_router
from app.routes.health import router as health_router
@@ -32,7 +33,7 @@ async def lifespan(app: FastAPI):
app = FastAPI(
title="highload-messenger",
version="1.3.0",
version="1.4.0",
docs_url="/docs",
redoc_url=None,
lifespan=lifespan,
@@ -47,6 +48,7 @@ app.include_router(auth_router)
app.include_router(users_router)
app.include_router(chats_router)
app.include_router(messages_router)
app.include_router(attachments_router)
if __name__ == "__main__":