UserTemplate GitHub -> Repository (#564)
This commit is contained in:
parent
9b0697491d
commit
64dde0215a
@ -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"`
|
||||
}
|
||||
|
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user