File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ export default {
307307 }
308308 if ( isLoonOrSurge ) 完整节点路径 = 完整节点路径 . replace ( / , / g, '%2C' ) ;
309309
310- return `${ 协议类型 } ://00000000-0000-4000-8000-000000000000@${ 节点地址 } :${ 节点端口 } ?security=tls&type=${ config_JSON . 传输协议 + ECHLINK参数 } &host=example.com&fp=${ config_JSON . Fingerprint } &sni=example.com&path=${ encodeURIComponent ( config_JSON . 随机路径 ? 随机路径 ( 完整节点路径 ) : 完整节点路径 ) + TLS分片参数 } &encryption=none${ config_JSON . 跳过证书验证 ? '&insecure=1&allowInsecure=1' : '' } #${ encodeURIComponent ( 节点备注 ) } ` ;
310+ return `${ 协议类型 } ://00000000-0000-4000-8000-000000000000@${ 节点地址 } :${ 节点端口 } ?security=tls&type=${ config_JSON . 传输协议 + ECHLINK参数 } &host=example.com&fp=${ config_JSON . Fingerprint } &sni=example.com&path=${ encodeURIComponent ( 作为优选订阅生成器 ? '/' : ( config_JSON . 随机路径 ? 随机路径 ( 完整节点路径 ) : 完整节点路径 ) ) + TLS分片参数 } &encryption=none${ config_JSON . 跳过证书验证 ? '&insecure=1&allowInsecure=1' : '' } #${ encodeURIComponent ( 节点备注 ) } ` ;
311311 } ) . filter ( item => item !== null ) . join ( '\n' ) ;
312312 } else { // 订阅转换
313313 const 订阅转换URL = `${ config_JSON . 订阅转换配置 . SUBAPI } /sub?target=${ 订阅类型 } &url=${ encodeURIComponent ( url . protocol + '//' + url . host + '/sub?target=mixed&token=' + 订阅TOKEN + ( 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 . 跳过证书验证 } ` ;
You can’t perform that action at this time.
0 commit comments