Skip to content

Commit c175ceb

Browse files
committed
更新_worker.js,修复对Singbox订阅内容的匹配逻辑
1 parent d58615a commit c175ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ async function getSUB(api, request, 追加UA, userAgentHeader) {
428428
if (content.includes('proxies:')) {
429429
//console.log('Clash订阅: ' + response.apiUrl);
430430
订阅转换URLs += "|" + response.apiUrl; // Clash 配置
431-
} else if (content.includes('outbounds":') && content.includes('inbounds":')) {
431+
} else if (content.includes('outbounds"') && content.includes('inbounds"')) {
432432
//console.log('Singbox订阅: ' + response.apiUrl);
433433
订阅转换URLs += "|" + response.apiUrl; // Singbox 配置
434434
} else if (content.includes('://')) {

0 commit comments

Comments
 (0)