minio storage fix pt3
This commit is contained in:
@@ -119,6 +119,7 @@ async def pull_File_from_user(app_id: str, folder: str, file_name: str, env: str
|
||||
print("Connected to MinIO successfully!")
|
||||
print("Available buckets:", [bucket.name for bucket in buckets])
|
||||
miniourl = client.presigned_get_object("mih", path)
|
||||
print("Generated presigned URL:", miniourl)
|
||||
# if(env == "Dev"):
|
||||
# miniourl.replace("minio", "localhost")
|
||||
# temp = minioResponse.data#.encode('utf-8').strip()
|
||||
|
||||
Reference in New Issue
Block a user