1 parent af7ac91 commit 4eea8e4Copy full SHA for 4eea8e4
1 file changed
_worker.js
@@ -247,7 +247,7 @@ export default {
247
优选API.push(元素);
248
} else {
249
const subMatch = 元素.match(/sub\s*=\s*([^\s&#]+)/i);
250
- if (subMatch) {
+ if (subMatch && subMatch[1].trim().includes('.')) {
251
优选API.push('sub://' + subMatch[1].trim());
252
} else if (元素.toLowerCase().startsWith('https://')) {
253
0 commit comments