From a1cdf005b98c422c777c88a7d7baf2eeb91f732d Mon Sep 17 00:00:00 2001 From: indexzero Date: Mon, 23 May 2011 16:46:48 -0400 Subject: [PATCH] [test] Update tests to use `localhost` --- test/web-socket-proxy-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/web-socket-proxy-test.js b/test/web-socket-proxy-test.js index 20baa3b..d954ef5 100644 --- a/test/web-socket-proxy-test.js +++ b/test/web-socket-proxy-test.js @@ -68,8 +68,8 @@ vows.describe('node-http-proxy/websocket/' + wsprotocol).addBatch({ // // Setup the web socket against our proxy // - var ws = new websocket.WebSocket(wsprotocol + '://home.devjitsu.com:8131/socket.io/websocket/', 'borf', { - origin: protocol + '://home.devjitsu.com' + var ws = new websocket.WebSocket(wsprotocol + '://localhost:8131/socket.io/websocket/', 'borf', { + origin: protocol + '://localhost' }); ws.on('wsupgrade', function (req, res) { @@ -108,8 +108,8 @@ vows.describe('node-http-proxy/websocket/' + wsprotocol).addBatch({ // // Setup the web socket against our proxy // - var ws = new websocket.WebSocket(wsprotocol + '://home.devjitsu.com:8133/socket.io/websocket/', 'borf', { - origin: protocol + '://home.devjitsu.com' + var ws = new websocket.WebSocket(wsprotocol + '://localhost:8133/socket.io/websocket/', 'borf', { + origin: protocol + '://localhost' }); ws.on('wsupgrade', function (req, res) {