Configure S3 bucket for seller document uploads
Some checks failed
Deploy Beta (NATIVE) / deploy (push) Failing after 24s
Some checks failed
Deploy Beta (NATIVE) / deploy (push) Failing after 24s
This commit is contained in:
parent
0a272ab168
commit
1fc0838594
1 changed files with 2 additions and 1 deletions
|
|
@ -317,6 +317,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
|||
|
||||
# CloudFront Domain Configuration
|
||||
AWS_CLOUDFRONT_DOMAIN = os.environ.get('AWS_CLOUDFRONT_DOMAIN', '')
|
||||
USE_S3 = os.environ.get('USE_S3', 'False') == 'True' or os.environ.get('AWS_STORAGE_BUCKET_NAME') is not None
|
||||
USE_S3 = True
|
||||
AWS_STORAGE_BUCKET_NAME = 'betasupplierdocumentstorage'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue