增加首页背景图设置

This commit is contained in:
mtvpls
2026-04-23 12:05:51 +08:00
parent f1da246712
commit a0f9a0398b
6 changed files with 157 additions and 6 deletions
+1
View File
@@ -61,6 +61,7 @@ export async function GET(request: NextRequest) {
DanmakuAutoLoadDefault: config.SiteConfig.DanmakuAutoLoadDefault !== false,
loginBackgroundImage: config.ThemeConfig?.loginBackgroundImage || '',
registerBackgroundImage: config.ThemeConfig?.registerBackgroundImage || '',
homeBackgroundImage: config.ThemeConfig?.homeBackgroundImage || '',
progressThumbType: config.ThemeConfig?.progressThumbType || 'default',
progressThumbPresetId: config.ThemeConfig?.progressThumbPresetId || '',
progressThumbCustomUrl: config.ThemeConfig?.progressThumbCustomUrl || '',