Skip to content

Commit

Permalink
Update presigned_urls.py
Browse files Browse the repository at this point in the history
Set endpoint_url
  • Loading branch information
ir4y authored Nov 18, 2024
1 parent fd10b83 commit 537ba01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/operations/presigned_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 537ba01

Please sign in to comment.