diff --git a/svr.js b/svr.js index 35e8770..0852d26 100644 --- a/svr.js +++ b/svr.js @@ -4100,12 +4100,9 @@ if (!cluster.isPrimary) { try { // Scan the block list - if (blocklist.check(reqip) && href != "/favicon.ico") { - // Return client blocked message - var bheaders = getCustomHeaders(); - bheaders["Content-Type"] = "text/html; charset=utf8"; - res.writeHead(403, "Client blocked", bheaders); - res.write("
Request from " + reqip + " is denied. The client is now in the block list.
SVR.JS/" + version + " (" + getOS() + "; " + (process.isBun ? ("Bun/v" + process.versions.bun + "; like Node.JS/" + process.version) : ("Node.JS/" + process.version)) + ")" + (req.headers.host == undefined ? "" : " on " + String(req.headers.host).replace(/&/g, "&").replace(//g, ">")) + "