This commit is contained in:
jxxghp
2024-04-29 13:37:20 +08:00
parent c1c71916db
commit 2f2c4d4a44

View File

@@ -311,7 +311,7 @@ function pluginInstalled() {
// 处理掉github地址的前缀
function handleRepoUrl(url: string | undefined) {
if (!url) return ''
return url.replace('https:github.com/', '').replace('https://raw.githubusercontent.com/', '')
return url.replace('https://github.com/', '').replace('https://raw.githubusercontent.com/', '')
}
// 加载时获取数据