fix(webui): correct SkillHub skill detail links

This commit is contained in:
Xubin Ren committed 2026-10-08 13:24:19 +08:00
1 parent 29f27dcf5d
commit 3865bde3fe
4 files changed
+51 -5

No files matched your search

+1 -1
View File
@@ -821,7 +821,7 @@ def _skillhub_skill(
"provider": _PROVIDER_SKILLHUB,
"installs": installs if isinstance(installs, int) and installs >= 0 else 0,
"downloads": downloads if isinstance(downloads, int) and downloads >= 0 else 0,
"url": f"{_SKILLHUB_PAGE_BASE_URL}/{quote(handle.strip(), safe='')}/"
"url": f"{_SKILLHUB_PAGE_BASE_URL}/skills/{quote(handle.strip(), safe='')}/"
f"{quote(skill_id, safe='')}",
"installed": skill_id in installed,
"install_supported": True,