added
This commit is contained in:
parent
8713e5018f
commit
9c9a6d4ba1
|
@ -242,7 +242,7 @@ async def save_picture(file, folder_name: str = "", file_name: str = None):
|
||||||
|
|
||||||
# img.thumbnail(output_size)
|
# img.thumbnail(output_size)
|
||||||
img.save(picture_path)
|
img.save(picture_path)
|
||||||
ConnectionUrl = f"https://{settings.AccountID}.r2.cloudflarestorage.com"
|
ConnectionUrl = f"https://{settings.AccountID}.r2.cloudflarestorage.com/images"
|
||||||
S3Connect = boto3.client(
|
S3Connect = boto3.client(
|
||||||
"s3",
|
"s3",
|
||||||
endpoint_url=ConnectionUrl,
|
endpoint_url=ConnectionUrl,
|
||||||
|
|
Loading…
Reference in New Issue