fix(settings): add default_unet_root to SYNC_KEYS for proper frontend sync

The default_unet_root setting was not being synced from backend to frontend
because it was missing from the _SYNC_KEYS tuple in misc_handlers.py. This
caused the "Default Diffusion Model Root" setting to always display "No Default"
even when a valid path was configured in settings.json.
This commit is contained in:
Will Miao
2026-01-18 12:38:46 +08:00
parent ab6a4844f0
commit 839bcbd37f
14 changed files with 99 additions and 9 deletions

View File

@@ -224,6 +224,7 @@ class SettingsHandler:
"civitai_api_key",
"default_lora_root",
"default_checkpoint_root",
"default_unet_root",
"default_embedding_root",
"base_model_path_mappings",
"download_path_templates",