Skip to content

Commit

Permalink
Merge pull request #200 from ZUS666/r/fix/wf
Browse files Browse the repository at this point in the history
R/fix/wf
  • Loading branch information
Arseny13 authored Oct 20, 2023
2 parents 14d621c + f5da287 commit ac7392d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api_spot/api_spot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@
AWS_SECRET_ACCESS_KEY = os.getenv('AWS_SECRET_ACCESS_KEY')
AWS_S3_ENDPOINT_URL = os.getenv('AWS_S3_ENDPOINT_URL')
AWS_S3_REGION_NAME = os.getenv('AWS_S3_REGION_NAME')
AWS_S3_USE_SSL = False
AWS_S3_URL_PROTOCOL = 'http:'
AWS_S3_USE_SSL = True

STORAGES = {
'default': {
Expand All @@ -202,7 +201,6 @@
"region_name": AWS_S3_REGION_NAME,
'use_ssl': AWS_S3_USE_SSL,
'endpoint_url': AWS_S3_ENDPOINT_URL,
'url_protocol': AWS_S3_URL_PROTOCOL,
}
},
'staticfiles': {
Expand All @@ -214,7 +212,6 @@
"region_name": AWS_S3_REGION_NAME,
'use_ssl': AWS_S3_USE_SSL,
'endpoint_url': AWS_S3_ENDPOINT_URL,
'url_protocol': AWS_S3_URL_PROTOCOL,
}
},
}

0 comments on commit ac7392d

Please sign in to comment.