From 605870c80b350f48957addbb3843d68a1a25aea0 Mon Sep 17 00:00:00 2001 From: jocayn <1579649885@qq.com> Date: Sat, 13 Jun 2026 20:14:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=20fallback=20=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=B8=AD=E7=9A=84=E4=B8=AD=E5=88=92=E7=BA=BF=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E8=BD=AC=E6=8D=A2=E4=B8=BA=20singbox=20=E7=9A=84?= =?UTF-8?q?=E4=B8=8B=E5=88=92=E7=BA=BF=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sub2proxy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sub2proxy.js b/sub2proxy.js index f5c3489..4d19b3d 100644 --- a/sub2proxy.js +++ b/sub2proxy.js @@ -178,7 +178,8 @@ function clashToSingbox(node) { ]; for (const k in node) { if (!excludeKeys.includes(k)) { - sb[k] = node[k]; + const newKey = k.replace(/-/g, '_'); + sb[newKey] = node[k]; } } }