mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
Changed proxyServer and destiny to local variables.
This commit is contained in:
parent
c62610e8e4
commit
8a8a894092
@ -379,9 +379,9 @@ describe('lib/http-proxy.js', function() {
|
||||
target: 'ws://127.0.0.1:' + ports.source,
|
||||
ws: true
|
||||
});
|
||||
proxyServer = proxy.listen(ports.proxy);
|
||||
var proxyServer = proxy.listen(ports.proxy);
|
||||
var server = http.createServer();
|
||||
destiny = io.listen(server);
|
||||
var destiny = io.listen(server);
|
||||
|
||||
function startSocketIo() {
|
||||
var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user