diff --git a/podkop/files/usr/lib/sing_box_config_manager.sh b/podkop/files/usr/lib/sing_box_config_manager.sh index 0380103..565203b 100644 --- a/podkop/files/usr/lib/sing_box_config_manager.sh +++ b/podkop/files/usr/lib/sing_box_config_manager.sh @@ -184,7 +184,7 @@ sing_box_cm_add_https_dns_server() { local path="$5" local headers="$6" local domain_resolver="$7" - local detour="$6" + local detour="$8" echo "$config" | jq \ --arg tag "$tag" \ @@ -1232,4 +1232,4 @@ sing_box_cm_save_config_to_file() { --arg tag "$SERVICE_TAG" \ 'walk(if type == "object" then del(.[$tag]) else . end)' \ > "$file_path" -} +} \ No newline at end of file