From 712c1642e9e53e7e4361a7b67cf14bd360af8331 Mon Sep 17 00:00:00 2001 From: sindricn Date: Sun, 17 Aug 2025 11:32:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96singbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/node-info.sh | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/scripts/node-info.sh b/scripts/node-info.sh index 600e514..db90abe 100644 --- a/scripts/node-info.sh +++ b/scripts/node-info.sh @@ -217,7 +217,7 @@ EOF cat << EOF "tls": { - "enabled": true, + "enabled": true, EOF if [[ -n "$sni_domain" ]]; then @@ -308,7 +308,7 @@ EOF cat << EOF "tls": { - "enabled": true, + "enabled": true, EOF if [[ -n "$sni_domain" ]]; then @@ -360,8 +360,8 @@ EOF "download_detour": "Hysteria2-Server" }, { - "tag": "geosite-cn", - "type": "remote", + "tag": "geosite-cn", + "type": "remote", "format": "binary", "url": "https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db", "download_detour": "Hysteria2-Server" @@ -721,8 +721,7 @@ EOF }, { "tag": "local", - "type": "udp", - "server": "223.5.5.5", + "address": "223.5.5.5", "detour": "direct" } ], @@ -753,7 +752,7 @@ EOF cat >> "$singbox_sub" << EOF "tls": { - "enabled": true, + "enabled": true, EOF if [[ -n "$sni_domain" ]]; then @@ -805,8 +804,8 @@ EOF "download_detour": "Hysteria2-Server" }, { - "tag": "geosite-cn", - "type": "remote", + "tag": "geosite-cn", + "type": "remote", "format": "binary", "url": "https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db", "download_detour": "Hysteria2-Server" @@ -874,7 +873,7 @@ EOF cat >> "$singbox_pc_sub" << EOF "tls": { - "enabled": true, + "enabled": true, EOF if [[ -n "$sni_domain" ]]; then @@ -926,8 +925,8 @@ EOF "download_detour": "Hysteria2-Server" }, { - "tag": "geosite-cn", - "type": "remote", + "tag": "geosite-cn", + "type": "remote", "format": "binary", "url": "https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db", "download_detour": "Hysteria2-Server"