feat: add global background image setting to config page

This commit is contained in:
sagitchu
2026-04-05 18:31:59 +08:00
parent f0351107dd
commit 96fc790ed7
3 changed files with 125 additions and 93 deletions
+1 -1
View File
@@ -976,7 +976,7 @@ func (h *Handler) updateSingleConfig(w http.ResponseWriter, r *http.Request) {
return
}
if value == "" && name != "app_logo" && name != "app_favicon" {
if value == "" && name != "app_logo" && name != "app_favicon" && name != "app_bg_image" {
response.WriteJSON(w, response.ErrDefault("配置值不能为空"))
return
}