Skip to content

Commit

Permalink
Merge pull request #198 from ZUS666/r/fix/wf
Browse files Browse the repository at this point in the history
add protocol
  • Loading branch information
ZUS666 authored Oct 20, 2023
2 parents 351d5e2 + 8ea6359 commit 14d621c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api_spot/api_spot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
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:'

STORAGES = {
'default': {
Expand All @@ -201,6 +202,7 @@
"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 @@ -212,6 +214,7 @@
"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 14d621c

Please sign in to comment.