|
1 | | -const Version = '2026-06-11 04:16:17'; |
| 1 | +const Version = '2026-06-17 01:41:21'; |
2 | 2 | let config_JSON, 反代IP = '', 启用SOCKS5反代 = null, 启用SOCKS5全局反代 = false, 我的SOCKS5账号 = '', parsedSocks5Address = {}; |
3 | 3 | let 缓存SOCKS5白名单 = null, 缓存反代IP, 缓存反代解析数组, 缓存反代数组索引 = 0, 启用反代兜底 = true, 调试日志打印 = false; |
4 | 4 | let SOCKS5白名单 = ['*tapecontent.net', '*cloudatacdn.com', '*loadshare.org', '*cdn-centaurus.com', 'scholar.google.com']; |
@@ -452,7 +452,7 @@ export default { |
452 | 452 | } |
453 | 453 | }).filter(item => item !== null).join('\n'); |
454 | 454 | } else { // 订阅转换 |
455 | | - const 订阅转换URL = `${config_JSON.订阅转换配置.SUBAPI}/sub?target=${订阅类型}&url=${encodeURIComponent(url.protocol + '//' + url.host + '/sub?target=mixed&token=' + 今日订阅转换后端专属TOKEN + '&cnIspCode=' + 识别运营商(request) + (url.searchParams.has('sub') && url.searchParams.get('sub') != '' ? `&sub=${url.searchParams.get('sub')}` : ''))}&config=${encodeURIComponent(config_JSON.订阅转换配置.SUBCONFIG)}&emoji=${config_JSON.订阅转换配置.SUBEMOJI}&scv=${config_JSON.跳过证书验证}`; |
| 455 | + const 订阅转换URL = `${config_JSON.订阅转换配置.SUBAPI}/sub?target=${订阅类型}&url=${encodeURIComponent(url.protocol + '//' + url.host + '/sub?target=mixed&token=' + 今日订阅转换后端专属TOKEN + '&cnIspCode=' + 识别运营商(request) + (url.searchParams.has('sub') && url.searchParams.get('sub') != '' ? `&sub=${url.searchParams.get('sub')}` : ''))}&config=${encodeURIComponent(config_JSON.订阅转换配置.SUBCONFIG)}&emoji=${config_JSON.订阅转换配置.SUBEMOJI}&list=${config_JSON.订阅转换配置.SUBLIST}&scv=${config_JSON.跳过证书验证}`; |
456 | 456 | try { |
457 | 457 | const response = await fetch(订阅转换URL, { headers: { 'User-Agent': 'Subconverter for ' + 订阅类型 + ' edge' + 'tunnel (https://github.com/' + 特征码字典[1] + '/edge' + 'tunnel)' } }); |
458 | 458 | if (response.ok) { |
@@ -4958,6 +4958,7 @@ async function 读取config_JSON(env, hostname, userID, UA = "Mozilla/5.0", 重 |
4958 | 4958 | SUBAPI: `https://SUBAPI.${特征码字典[1]}ssss.net`, |
4959 | 4959 | SUBCONFIG: `https://raw.githubusercontent.com/${特征码字典[1]}/ACL4SSR/refs/heads/main/Clash/config/ACL4SSR_Online_Mini_MultiMode_CF.ini`, |
4960 | 4960 | SUBEMOJI: false, |
| 4961 | + SUBLIST: false, //仅输出节点信息 |
4961 | 4962 | }, |
4962 | 4963 | 反代: { |
4963 | 4964 | [_p]: "auto", |
@@ -5025,6 +5026,7 @@ async function 读取config_JSON(env, hostname, userID, UA = "Mozilla/5.0", 重 |
5025 | 5026 | config_JSON = 默认配置JSON; |
5026 | 5027 | } |
5027 | 5028 |
|
| 5029 | + if (!config_JSON.订阅转换配置.SUBLIST) config_JSON.订阅转换配置.SUBLIST = false; |
5028 | 5030 | if (!config_JSON.gRPCUserAgent) config_JSON.gRPCUserAgent = UA; |
5029 | 5031 | config_JSON.HOST = host; |
5030 | 5032 | if (!config_JSON.HOSTS) config_JSON.HOSTS = [hostname]; |
|
0 commit comments