summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
Diffstat (limited to 'takahe')
-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}")