diff --git a/demo/_synctiles.py b/demo/_synctiles.py index e72b4f7..ce53fc5 100755 --- a/demo/_synctiles.py +++ b/demo/_synctiles.py @@ -260,7 +260,6 @@ def upload_metadata( self, path: PurePath, item: Any, cache: bool = True ) -> None: self.object(path).put( - ACL='public-read', Body=json.dumps(item, indent=1, sort_keys=True).encode(), CacheControl=CACHE_CONTROL_CACHE if cache @@ -302,7 +301,6 @@ def sync(self) -> PurePath | BaseException: new_md5 = md5(buf.getbuffer()) if self.cur_md5 != new_md5.hexdigest(): storage.object(self.key_name).put( - ACL='public-read', Body=buf.getvalue(), CacheControl=CACHE_CONTROL_CACHE, ContentMD5=base64.b64encode(new_md5.digest()).decode(), @@ -632,7 +630,6 @@ def start_retile( print("Storing static files...") for relpath, opts in BUCKET_STATIC.items(): storage.object(relpath).put( - ACL='public-read', Body=opts.get('data', '').encode(), ContentType=opts['content-type'], )