fix:默认只取第一个网盘链接类型为标签

This commit is contained in:
jiangrui
2025-03-12 13:04:33 +08:00
parent ef0de7ad8c
commit 28f894f988

View File

@@ -72,7 +72,7 @@ export class Searcher {
const matches = text.match(pattern);
if (matches) {
links.push(...matches);
cloudType = Object.keys(config.cloudPatterns)[index];
if (!cloudType) cloudType = Object.keys(config.cloudPatterns)[index];
}
});
return {