Skip to content

Commit

Permalink
[test] Update tests to use localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed May 23, 2011
1 parent b4ac4d4 commit a1cdf00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/web-socket-proxy-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a1cdf00

Please sign in to comment.