minio storage fix pt3
This commit is contained in:
parent
302152449f
commit
934b1b2301
1 changed files with 1 additions and 0 deletions
|
|
@ -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("Connected to MinIO successfully!")
|
||||||
print("Available buckets:", [bucket.name for bucket in buckets])
|
print("Available buckets:", [bucket.name for bucket in buckets])
|
||||||
miniourl = client.presigned_get_object("mih", path)
|
miniourl = client.presigned_get_object("mih", path)
|
||||||
|
print("Generated presigned URL:", miniourl)
|
||||||
# if(env == "Dev"):
|
# if(env == "Dev"):
|
||||||
# miniourl.replace("minio", "localhost")
|
# miniourl.replace("minio", "localhost")
|
||||||
# temp = minioResponse.data#.encode('utf-8').strip()
|
# temp = minioResponse.data#.encode('utf-8').strip()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue