mirror of
https://github.com/avwo/whistle.git
synced 2026-10-27 21:49:10 +08:00
handle 502
This commit is contained in:
@@ -68,6 +68,7 @@ function handleWebsocket(socket, wss, callback) {
|
||||
function resolveHost(url, callback) {
|
||||
rules.resolveHost(proxyUrl, function(err, ip, customHost) {
|
||||
if (err) {
|
||||
reqEmitter.host = LOCALHOST;
|
||||
return execCallback(err);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user