mirror of
https://github.com/lush2020/CF-Workers-SUB.git
synced 2026-03-21 02:52:38 +08:00
更新_worker.js,修复对Singbox订阅内容的匹配逻辑
This commit is contained in:
@@ -428,7 +428,7 @@ async function getSUB(api, request, 追加UA, userAgentHeader) {
|
||||
if (content.includes('proxies:')) {
|
||||
//console.log('Clash订阅: ' + response.apiUrl);
|
||||
订阅转换URLs += "|" + response.apiUrl; // Clash 配置
|
||||
} else if (content.includes('outbounds":') && content.includes('inbounds":')) {
|
||||
} else if (content.includes('outbounds"') && content.includes('inbounds"')) {
|
||||
//console.log('Singbox订阅: ' + response.apiUrl);
|
||||
订阅转换URLs += "|" + response.apiUrl; // Singbox 配置
|
||||
} else if (content.includes('://')) {
|
||||
|
||||
Reference in New Issue
Block a user