mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 10:18:59 +02:00
small refactor and fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package homepage
|
||||
|
||||
// PredefinedCategories by alias or docker image name
|
||||
// PredefinedCategories by alias or docker image name.
|
||||
var PredefinedCategories = map[string]string{
|
||||
"sonarr": "Torrenting",
|
||||
"radarr": "Torrenting",
|
||||
|
||||
@@ -10,8 +10,8 @@ type (
|
||||
Icon string `json:"icon" yaml:"icon"`
|
||||
URL string `json:"url" yaml:"url"` // alias + domain
|
||||
Category string `json:"category" yaml:"category"`
|
||||
Description string `json:"description" yaml:"description"`
|
||||
WidgetConfig map[string]any `json:"widget_config" yaml:",flow"`
|
||||
Description string `json:"description" yaml:"description" aliases:"desc"`
|
||||
WidgetConfig map[string]any `json:"widget_config" yaml:",flow" aliases:"widget"`
|
||||
|
||||
SourceType string `json:"source_type" yaml:"-"`
|
||||
AltURL string `json:"alt_url" yaml:"-"` // original proxy target
|
||||
|
||||
Reference in New Issue
Block a user