fix(tracer): fix fs.readfile call for domain/IP lists and implement sing-box SIGHUP graceful recovery

This commit is contained in:
Dushnilin
2026-08-07 13:14:06 +03:00
parent 4e419d5aea
commit f2a22a6730
5 changed files with 61 additions and 40 deletions
@@ -9697,7 +9697,7 @@ function detectQueryType(query) {
}
function readRulesetFile(path) {
return fs.read(path)
return fs.readfile(path)
.then((content) => {
if (!content) return null;
try {