сhore: remove tabs

This commit is contained in:
Ivan K
2025-03-12 14:54:56 +03:00
parent c6d1f05916
commit 0faaca12fc

View File

@@ -547,16 +547,16 @@ add_socks5_for_section() {
--arg section "$section" \ --arg section "$section" \
'.inbounds += [{ '.inbounds += [{
"tag": $tag, "tag": $tag,
"type": "mixed", "type": "mixed",
"listen": "0.0.0.0", "listen": "0.0.0.0",
"listen_port": ($port|tonumber), "listen_port": ($port|tonumber),
"set_system_proxy": false "set_system_proxy": false
}] | }] |
.route.rules += [{ .route.rules += [{
"inbound": [$tag], "inbound": [$tag],
"outbound": $section, "outbound": $section,
"action": "route" "action": "route"
}]' $SING_BOX_CONFIG >/tmp/sing-box-config-tmp.json && mv /tmp/sing-box-config-tmp.json $SING_BOX_CONFIG }]' $SING_BOX_CONFIG >/tmp/sing-box-config-tmp.json && mv /tmp/sing-box-config-tmp.json $SING_BOX_CONFIG
} }
process_socks5() { process_socks5() {