fix(config): ignore extra configs

This commit is contained in:
arkohut 2024-11-06 14:28:16 +08:00
parent 266125399e
commit 1609adc670

View File

@ -50,6 +50,7 @@ class Settings(BaseSettings):
yaml_file=str(Path.home() / ".memos" / "config.yaml"),
yaml_file_encoding="utf-8",
env_prefix="MEMOS_",
extra="ignore",
)
base_dir: str = "~/.memos"