UserTemplate GitHub -> Repository (#564)

This commit is contained in:
UUBulb 2024-12-06 23:38:20 +08:00 committed by GitHub
parent 9b0697491d
commit 64dde0215a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 14 deletions

View File

@ -21,7 +21,7 @@ type SettingForm struct {
type UserTemplate struct {
Path string `json:"path,omitempty"`
Name string `json:"name,omitempty"`
GitHub string `json:"github,omitempty"`
Repository string `json:"repository,omitempty"`
Author string `json:"author,omitempty"`
Community bool `json:"community,omitempty"`
}

View File

@ -23,12 +23,12 @@ var (
{
Path: "user-dist",
Name: "Official",
GitHub: "https://github.com/hamster1963/nezha-dash",
Repository: "https://github.com/hamster1963/nezha-dash",
Author: "hamster1963",
}, {
Path: "nazhua-dist",
Name: "Nazhua",
GitHub: "https://github.com/hi2shark/nazhua",
Repository: "https://github.com/hi2shark/nazhua",
Author: "hi2hi",
Community: true,
},