mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 16:51:00 +00:00
Schema is required for S3 endpoints. (#66)
This commit is contained in:
parent
68d59b399e
commit
2d4cf3d56e
1 changed files with 1 additions and 1 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue