Skip to content

Commit d2e8e80

Browse files
chore: add the region again to specify correct region
1 parent 3e2a163 commit d2e8e80

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

common/apps/upload_file/service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def _get_s3_client():
2020
signature_version="s3v4",
2121
s3={"addressing_style": "path"},
2222
),
23+
region_name=settings.AWS_S3.get("AWS_REGION", "ap-southeast-1"),
2324
)
2425
return _s3_client
2526

0 commit comments

Comments
 (0)