Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Brand new marketplace UI https://github.com/siyuan-note/siyuan/issues/8181

Liang Ding1731d2b6ef0c
diff --git a/kernel/bazaar/package.go b/kernel/bazaar/package.go
index 0f1bfc01d9..e7cb4bf6fc 100644
--- a/kernel/bazaar/package.go
+++ b/kernel/bazaar/package.go
@@ -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
}