From 023ce80d592b33cb8a0bd0c070b8d54250c570d6 Mon Sep 17 00:00:00 2001 From: king Date: Sun, 24 May 2026 05:08:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20env()=20helper=EA=B0=80=20=EB=B9=88=20?= =?UTF-8?q?=EA=B0=92=EC=9D=BC=20=EB=95=8C=EB=8F=84=20default=EB=A1=9C=20?= =?UTF-8?q?=ED=8F=B4=EB=B0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 5a24b41..4f4ee2a 100644 --- a/app/main.py +++ b/app/main.py @@ -25,7 +25,8 @@ ALLOWED_EMAILS = { def env(name: str, default: str = "") -> str: - return os.getenv(name, default).strip() + value = os.getenv(name, "").strip() + return value if value else default def build_google_oauth() -> OAuth: