From 537ba01187f590801493469c2542ebd448c344e1 Mon Sep 17 00:00:00 2001 From: Ilya Beda Date: Mon, 18 Nov 2024 19:45:28 +1100 Subject: [PATCH] Update presigned_urls.py Set endpoint_url --- app/operations/presigned_urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/operations/presigned_urls.py b/app/operations/presigned_urls.py index 024a148..984742c 100644 --- a/app/operations/presigned_urls.py +++ b/app/operations/presigned_urls.py @@ -86,6 +86,7 @@ async def generate_download_url_op( region_name=config.region_name, aws_access_key_id=config.aws_access_key_id, aws_secret_access_key=config.aws_secret_access_key, + endpoint_url=config.minio_endpoint, ) as client: get_presigned_url = await client.generate_presigned_url( "get_object",