From 80e2564ab10327f8e7339bea325c6b4cb2dffb8c Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Fri, 1 Sep 2023 12:43:08 +0200 Subject: [PATCH] fix(settings): fix wrong types of boolean settings --- alexandria/settings/alexandria.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alexandria/settings/alexandria.py b/alexandria/settings/alexandria.py index 645feece..5c779374 100644 --- a/alexandria/settings/alexandria.py +++ b/alexandria/settings/alexandria.py @@ -85,13 +85,13 @@ def default(default_dev=env.NOTSET, default_prod=env.NOTSET): ALEXANDRIA_MINIO_STORAGE_SECRET_KEY = env.str( "ALEXANDRIA_MINIO_STORAGE_SECRET_KEY", default="minio123" ) -ALEXANDRIA_MINIO_STORAGE_USE_HTTPS = env.str( +ALEXANDRIA_MINIO_STORAGE_USE_HTTPS = env.bool( "ALEXANDRIA_MINIO_STORAGE_USE_HTTPS", default=False ) ALEXANDRIA_MINIO_STORAGE_MEDIA_BUCKET_NAME = env.str( "ALEXANDRIA_MINIO_STORAGE_MEDIA_BUCKET_NAME", default="alexandria-media" ) -ALEXANDRIA_MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET = env.str( +ALEXANDRIA_MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET = env.bool( "ALEXANDRIA_MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET", default=True ) ALEXANDRIA_MINIO_PRESIGNED_TTL_MINUTES = env.str(