api: homepage config json not longer include default url

This commit is contained in:
yusing
2025-01-04 03:37:51 +08:00
parent cb9b7d55fd
commit 6b669fc540
2 changed files with 4 additions and 20 deletions

View File

@@ -7,13 +7,14 @@ type (
Item struct {
Show bool `json:"show"`
Name string `json:"name"`
Name string `json:"name"` // display name
Icon string `json:"icon"`
URL string `json:"url"` // alias + domain
Category string `json:"category"`
Description string `json:"description" aliases:"desc"`
WidgetConfig map[string]any `json:"widget_config" aliases:"widget"`
Alias string `json:"alias"` // proxy alias
SourceType string `json:"source_type"`
AltURL string `json:"alt_url"` // original proxy target
}