From f352c298e7bc0f080881c4acdea7bb2b9a3bde68 Mon Sep 17 00:00:00 2001 From: ramvignesh-b Date: Sat, 25 Apr 2026 23:15:44 +0530 Subject: [PATCH] fix: ssl_enabled flag consition fails due to unintentional space after in env --- backend/config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config/settings.py b/backend/config/settings.py index 88ed943..d850731 100644 --- a/backend/config/settings.py +++ b/backend/config/settings.py @@ -25,7 +25,7 @@ env_file = os.environ.get("PIKU_ENV_FILE", os.path.join(BASE_DIR.parent, ".env") if os.path.exists(env_file): environ.Env.read_env(env_file, overwrite=False) -SSL_ENABLED = env("SSL_ENABLED") == "true" +SSL_ENABLED = env("SSL_ENABLED", default="false").strip() == "true" URI_SCHEME = "https://" if SSL_ENABLED else "http://" FRONTEND_URLS = []