From a7f2d4de1632443de79ac64ad276a25f89f6a516 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Thu, 14 Mar 2024 11:50:48 +0800 Subject: [PATCH] Update resource-parser.js --- 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 a1af62e..6281763 100644 --- a/Scripts/resource-parser.js +++ b/Scripts/resource-parser.js @@ -1,5 +1,5 @@ /** -☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2024-01-28 10:50⟧ +☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2024-03-14 12:00⟧ ---------------------------------------------------------- 🛠 发现 𝐁𝐔𝐆 请反馈: https://t.me/Shawn_Parser_Bot ⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API @@ -1913,7 +1913,7 @@ function Fobfs(jsonl, Pcert0, PTls13) { host0 = jsonl.host && jsonl.host != "" ? "obfs-host=" + jsonl.host + ", " : ""; obfsi.push(obfs0, host0 + uri0); return obfsi.join(", ") - } else if (jsonl.net !="tcp" && jsonl.net !="none"){ // 过滤掉 h2/http 等类型 + } else if (jsonl.net !="tcp" && jsonl.net !="none" && jsonl.net != undefined){ // 过滤掉 h2/http 等类型 Perror = 1 $notify("⚠️ Quantumult X 不支持该类型节点", "vmess + " + jsonl.net, JSON.stringify(jsonl)) return "NOT-SUPPORTTED"