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