feat: add API endpoint for fetching application settings and update frontend settings management

This commit is contained in:
Will Miao
2025-09-14 22:57:17 +08:00
parent 6b606a5cc8
commit 9366d3d2d0
6 changed files with 291 additions and 266 deletions

View File

@@ -80,7 +80,6 @@ class SettingsManager:
"""Return default settings"""
return {
"civitai_api_key": "",
"show_only_sfw": False,
"language": "en",
"enable_metadata_archive_db": False, # Enable metadata archive database
"proxy_enabled": False, # Enable app-level proxy