Merge pull request #4276 from Seed680/v2

支持支持自定义壁纸api地址,返回中配置中允许的图片文件后缀格式图片都会返回作为壁纸
This commit is contained in:
jxxghp
2025-05-15 08:24:01 +08:00
committed by GitHub
3 changed files with 56 additions and 2 deletions
+2 -1
View File
@@ -268,7 +268,8 @@ class ConfigModel(BaseModel):
TOKENIZED_SEARCH: bool = False
# 为指定默认字幕添加.default后缀
DEFAULT_SUB: Optional[str] = "zh-cn"
# 自定义壁纸api地址
CUSTOMIZE_WALLPAPER_API_URL: Optional[str] = None
class Settings(BaseSettings, ConfigModel, LogConfigModel):
"""