Skip to content

Commit

Permalink
Merge pull request #210 from edly-io/revert-204-burhan/EDLY-2130
Browse files Browse the repository at this point in the history
Revert "ADD AWS Settings in LMS "
  • Loading branch information
rehan99000 authored Feb 25, 2021
2 parents 6782022 + 2207a4f commit 4f4777d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lms/envs/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,6 @@
AWS_QUERYSTRING_AUTH = AUTH_TOKENS.get('AWS_QUERYSTRING_AUTH', True)
AWS_S3_CUSTOM_DOMAIN = AUTH_TOKENS.get('AWS_S3_CUSTOM_DOMAIN', 'edxuploads.s3.amazonaws.com')

AWS_DEFAULT_ACL = 'private'
AWS_BUCKET_ACL = AWS_DEFAULT_ACL

if AUTH_TOKENS.get('DEFAULT_FILE_STORAGE'):
DEFAULT_FILE_STORAGE = AUTH_TOKENS.get('DEFAULT_FILE_STORAGE')
elif AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY:
Expand Down
3 changes: 0 additions & 3 deletions lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,6 @@
AWS_QUERYSTRING_AUTH = AUTH_TOKENS.get('AWS_QUERYSTRING_AUTH', True)
AWS_S3_CUSTOM_DOMAIN = AUTH_TOKENS.get('AWS_S3_CUSTOM_DOMAIN', 'edxuploads.s3.amazonaws.com')

AWS_DEFAULT_ACL = 'private'
AWS_BUCKET_ACL = AWS_DEFAULT_ACL

if AUTH_TOKENS.get('DEFAULT_FILE_STORAGE'):
DEFAULT_FILE_STORAGE = AUTH_TOKENS.get('DEFAULT_FILE_STORAGE')
elif AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY:
Expand Down

0 comments on commit 4f4777d

Please sign in to comment.