This commit is contained in:
bennykok
2024-09-17 23:36:24 -07:00
parent 7ed4284a6f
commit aa47f3523f
+2
View File
@@ -1266,6 +1266,8 @@ async def upload_file(prompt_id, filename, subfolder=None, content_type="image/p
"Content-Length": size, "Content-Length": size,
} }
logger.info(headers)
if ok.get('include_acl') is True: if ok.get('include_acl') is True:
headers["x-amz-acl"] = "public-read" headers["x-amz-acl"] = "public-read"