From 9d2e4e47dec1a6356d59c315cdf48e4d266f26fb Mon Sep 17 00:00:00 2001 From: xds Date: Thu, 12 Feb 2026 15:32:28 +0300 Subject: [PATCH] fix --- api/endpoints/assets_router.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,