fix: use return value of resolve_env_variables in config loading

This commit is contained in:
amszuidas
2026-01-23 21:51:48 +08:00
parent eb802361e1
commit 3972485fe0

View File

@@ -72,7 +72,7 @@ class AppConfig(BaseModel):
resolved_path = cls.resolve_config_path(config_path)
with open(resolved_path) as f:
config_data = yaml.safe_load(f)
cls.resolve_env_variables(config_data)
config_data = cls.resolve_env_variables(config_data)
# Load title config if present
if "title" in config_data: