mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-18 22:49:52 +02:00
api: homepage config json not longer include default url
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user