mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Brand new marketplace UI https://github.com/siyuan-note/siyuan/issues/8181
This commit is contained in:
@@ -431,10 +431,10 @@ func GetPackageREADME(repoURL, repoHash, packageType string) (ret string) {
|
||||
return
|
||||
}
|
||||
|
||||
fullRepoURLHash := "https://github.com/" + repoURLHash
|
||||
url := strings.TrimPrefix(repoURLHash, "https://github.com/")
|
||||
var repo *StageRepo
|
||||
for _, r := range stageIndex.Repos {
|
||||
if r.URL == fullRepoURLHash {
|
||||
if r.URL == url {
|
||||
repo = r
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user