const url = require("url") const _url = url_.parse(url).pathname //阻止访问 if(_url == "/favicon.ico")return