Browse Source

update envhelper.py for install un web app's bug

zhaojing1987 1 year ago
parent
commit
4acb322615
2 changed files with 3 additions and 1 deletions
  1. 2 0
      apphub/src/config/config.ini
  2. 1 1
      apphub/src/core/envHelper.py

+ 2 - 0
apphub/src/config/config.ini

@@ -27,3 +27,5 @@ port = 9000
 [initial_apps]
 keys = 
 
+[favorite_apps]
+keys = 

+ 1 - 1
apphub/src/core/envHelper.py

@@ -35,7 +35,7 @@ class EnvHelper:
                 
                 return value
 
-            return resolve_value(values.get(key, ''))
+            return resolve_value(values.get(key))
         except Exception as e:
             logger.error(f"Error getting {key} from {self.dotenv_path}: {e}")
             raise CustomException()