From f0e889a007797e9b2f5987a5f47db77ccb853c5e Mon Sep 17 00:00:00 2001 From: shashank40 Date: Sat, 26 Aug 2023 01:33:41 +0530 Subject: [PATCH] fix:issue-1667;added if condition check to not echo DB_URL --- reflex/config.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reflex/config.py b/reflex/config.py index 723d525a9f..a793509354 100644 --- a/reflex/config.py +++ b/reflex/config.py @@ -238,9 +238,10 @@ def update_from_env(self): # If the env var is set, override the config value. if env_var is not None: - console.info( - f"Overriding config value {key} with env var {key.upper()}={env_var}" - ) + if key.upper() != "DB_URL": + console.info( + f"Overriding config value {key} with env var {key.upper()}={env_var}" + ) # Convert the env var to the expected type. try: