mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-02-22 09:40:49 +00:00
set ACL to public read
This commit is contained in:
parent
3135e36c93
commit
860025145c
@ -60,6 +60,7 @@ async def upload(event, context):
|
|||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
print(filename)
|
print(filename)
|
||||||
tasks.append(s3.put_object(
|
tasks.append(s3.put_object(
|
||||||
|
ACL="public-read",
|
||||||
Bucket=BUCKET,
|
Bucket=BUCKET,
|
||||||
Body=body,
|
Body=body,
|
||||||
Key=filename
|
Key=filename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user