mirror of
https://github.com/avwo/whistle.git
synced 2026-10-28 22:59:50 +08:00
feat: Refine proxy
This commit is contained in:
@@ -80,7 +80,6 @@ function handleWebsocket(socket, clientIp, callback) {
|
||||
if (proxyUrl) {
|
||||
!filter.hide && proxy.emit('request', reqEmitter);
|
||||
var isSocks = /^socks:\/\//.test(proxyUrl);
|
||||
data.realUrl = proxyUrl;
|
||||
proxyUrl = 'http:' + util.removeProtocol(proxyUrl);
|
||||
resolveHost(proxyUrl, function(ip) {
|
||||
options = url.parse(proxyUrl);
|
||||
|
||||
Reference in New Issue
Block a user