From 2d4cf3d56e6e22ad4b699603ca52a663515805aa Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Sun, 27 Nov 2022 17:20:49 -0500 Subject: Schema is required for S3 endpoints. (#66) --- takahe/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'takahe') 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}") -- cgit v1.2.3