summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Kennedy2022-11-27 17:20:49 -0500
committerGitHub2022-11-27 15:20:49 -0700
commit2d4cf3d56e6e22ad4b699603ca52a663515805aa (patch)
tree98159220e78e7a808daaa4987ce5f43624be6d70
parent68d59b399e7c0e918d0ff9dcfdb17076049513f8 (diff)
downloadtakahe-2d4cf3d56e6e22ad4b699603ca52a663515805aa.tar.gz
takahe-2d4cf3d56e6e22ad4b699603ca52a663515805aa.tar.bz2
takahe-2d4cf3d56e6e22ad4b699603ca52a663515805aa.zip
Schema is required for S3 endpoints. (#66)
-rw-r--r--takahe/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/takahe/settings.py b/takahe/settings.py
index 0c6c2c5..8b62206 100644
--- a/takahe/settings.py
+++ b/takahe/settings.py
@@ -301,7 +301,7 @@ if SETUP.MEDIA_BACKEND:
AWS_ACCESS_KEY_ID = parsed.username
AWS_SECRET_ACCESS_KEY = parsed.password
port = parsed.port or 443
- AWS_S3_ENDPOINT_URL = f"{parsed.hostname}:{port}"
+ AWS_S3_ENDPOINT_URL = f"https://{parsed.hostname}:{port}"
else:
raise ValueError(f"Unsupported media backend {parsed.scheme}")