diff --git a/api/endpoints/assets_router.py b/api/endpoints/assets_router.py index 00ed898..b858d3b 100644 --- a/api/endpoints/assets_router.py +++ b/api/endpoints/assets_router.py @@ -60,8 +60,8 @@ async def get_asset( # Main content: стримим из S3 без загрузки в RAM if asset.minio_object_name and s3_adapter: content_type = "image/png" - if asset.content_type == AssetContentType.VIDEO: - content_type = "video/mp4" + # if asset.content_type == AssetContentType.VIDEO: + # content_type = "video/mp4" return StreamingResponse( s3_adapter.stream_file(asset.minio_object_name), media_type=content_type,