mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
12 lines
340 B
JavaScript
12 lines
340 B
JavaScript
(() => {
|
|
const http = require("http");
|
|
const originaleListen = http.Server.prototype.listen;
|
|
http.Server.prototype.listen = function (port) {
|
|
if (port == 33233) {
|
|
console.warn("block port of http server:", port);
|
|
return;
|
|
}
|
|
return originaleListen.apply(this, [port]);
|
|
};
|
|
})();
|