fix(tracer): resolve discord community cidr filter (#50) and improve leak check display

This commit is contained in:
Dushnilin
2026-09-14 06:27:31 +03:00
parent 959bcb59f5
commit ea0de78cca
5 changed files with 463 additions and 170 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ CONFIG="$WORK_DIR/singbox.json"
node -e '
const fs = require("fs");
const cfg = JSON.parse(fs.readFileSync(process.argv[1], "utf8"));
const rules = cfg.route?.rules || [];
const rules = (cfg.route && cfg.route.rules) || [];
const hijackDnsPort = rules.find(r => r.action === "hijack-dns" && r.inbound === "server-home_node-in" && r.port === 53);
if (!hijackDnsPort) {