Skip to content

Commit

Permalink
feat: use env var on s3 config
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed Oct 18, 2024
1 parent 1f5f1f9 commit f6cdf19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chats/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@

AWS_STORAGE_BUCKET_NAME = env.str("AWS_STORAGE_BUCKET_NAME")

AWS_QUERYSTRING_AUTH = True
AWS_S3_FILE_OVERWRITE = False
AWS_QUERYSTRING_AUTH = env.bool("AWS_QUERYSTRING_AUTH", default=True)
AWS_S3_FILE_OVERWRITE = env.bool("AWS_S3_FILE_OVERWRITE", default=False)

else:
MEDIA_URL = "/media/"
Expand Down

0 comments on commit f6cdf19

Please sign in to comment.