From ac34b1e7d48f5b971b94460c5cff75a46ff048a7 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Fri, 25 Dec 2020 12:46:17 +0800 Subject: [PATCH] bug fixed --- Scripts/resource-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/resource-parser.js b/Scripts/resource-parser.js index 8ffa0e8..b6a00bf 100644 --- a/Scripts/resource-parser.js +++ b/Scripts/resource-parser.js @@ -1,5 +1,5 @@ /** -☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2020-12-24 13:29⟧ +☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2020-12-25 12:49⟧ ---------------------------------------------------------- 🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot ⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API @@ -1733,7 +1733,7 @@ function CH2QX(cnt){ pwd = cnt.password ? "password=" + cnt.password : "" tls = cnt.tls ? "over-tls=true" : "" cert = cnt["skip-cert-verify"] && cnt.tls ? "tls-verification=false" : "" - if (Pcert0 == 0) { cert = "tls-verification=false" } + if (Pcert0 == 0 && cnt.tls) { cert = "tls-verification=false" } node = "http="+[ipt, uname, pwd, tls, cert, tag].filter(Boolean).join(", ") //console.log(node) return node