Skip to content

Commit

Permalink
feat(s3): add default acl
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaffey committed Mar 2, 2024
1 parent 09605cf commit 527de34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/backend/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

STATICFILES_STORAGE = "backend.storage_backends.StaticStorage"
# static and media files
AWS_DEFAULT_ACL = None
AWS_STORAGE_BUCKET_NAME = os.environ["S3_BUCKET_NAME"]
STATIC_URL = f"https://{AWS_STORAGE_BUCKET_NAME}.s3.amazonaws.com/static/"
MEDIA_URL = f"https://{AWS_STORAGE_BUCKET_NAME}.s3.amazonaws.com/media/"
Expand Down

0 comments on commit 527de34

Please sign in to comment.