mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
feat: add support for custom branding and background settings in Config
This commit is contained in:
1 parent
23ece08076
commit
bc32f8fce4
3 files changed
+15
No files matched your search
@@ -13,6 +13,11 @@ type SettingForm struct {
|
||||
WebRealIPHeader string `json:"web_real_ip_header,omitempty" validate:"optional"` // 前端真实IP
|
||||
AgentRealIPHeader string `json:"agent_real_ip_header,omitempty" validate:"optional"` // Agent真实IP
|
||||
UserTemplate string `json:"user_template,omitempty" validate:"optional"`
|
||||
CustomLogo string `json:"custom_logo,omitempty" validate:"optional"`
|
||||
CustomDescription string `json:"custom_description,omitempty" validate:"optional"`
|
||||
CustomLinks string `json:"custom_links,omitempty" validate:"optional"`
|
||||
BackgroundImageDay string `json:"background_image_day,omitempty" validate:"optional"`
|
||||
BackgroundImageNight string `json:"background_image_night,omitempty" validate:"optional"`
|
||||
|
||||
AgentTLS bool `json:"tls,omitempty" validate:"optional"`
|
||||
EnableIPChangeNotification bool `json:"enable_ip_change_notification,omitempty" validate:"optional"`
|
||||
|
||||
Reference in new issue
Block a user