From 9cf5655ac5bf9f7b2dd754e7396deb337e5b582f Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Thu, 24 Apr 2025 12:52:13 +0800 Subject: [PATCH] remove block --- sing-box.sh | 2 +- src/core.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sing-box.sh b/sing-box.sh index b3ce41b..ad46279 100644 --- a/sing-box.sh +++ b/sing-box.sh @@ -1,6 +1,6 @@ #!/bin/bash args=$@ -is_sh_ver=v1.06 +is_sh_ver=v1.07 . /etc/sing-box/sh/src/init.sh \ No newline at end of file diff --git a/src/core.sh b/src/core.sh index d060b57..203b002 100644 --- a/src/core.sh +++ b/src/core.sh @@ -369,7 +369,7 @@ create() { else [[ ! $is_ntp_on ]] && is_ntp= fi - is_outbounds='outbounds:[{tag:"direct",type:"direct"},{tag:"block",type:"block"}]' + is_outbounds='outbounds:[{tag:"direct",type:"direct"}]' is_server_config_json=$(jq "{$is_log,$is_dns,$is_ntp$is_outbounds}" <<<{}) cat <<<$is_server_config_json >$is_config_json manage restart &