Skip to content

Commit a1cdf00

Browse files
committed
[test] Update tests to use localhost
1 parent b4ac4d4 commit a1cdf00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/web-socket-proxy-test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ vows.describe('node-http-proxy/websocket/' + wsprotocol).addBatch({
6868
//
6969
// Setup the web socket against our proxy
7070
//
71-
var ws = new websocket.WebSocket(wsprotocol + '://home.devjitsu.com:8131/socket.io/websocket/', 'borf', {
72-
origin: protocol + '://home.devjitsu.com'
71+
var ws = new websocket.WebSocket(wsprotocol + '://localhost:8131/socket.io/websocket/', 'borf', {
72+
origin: protocol + '://localhost'
7373
});
7474

7575
ws.on('wsupgrade', function (req, res) {
@@ -108,8 +108,8 @@ vows.describe('node-http-proxy/websocket/' + wsprotocol).addBatch({
108108
//
109109
// Setup the web socket against our proxy
110110
//
111-
var ws = new websocket.WebSocket(wsprotocol + '://home.devjitsu.com:8133/socket.io/websocket/', 'borf', {
112-
origin: protocol + '://home.devjitsu.com'
111+
var ws = new websocket.WebSocket(wsprotocol + '://localhost:8133/socket.io/websocket/', 'borf', {
112+
origin: protocol + '://localhost'
113113
});
114114

115115
ws.on('wsupgrade', function (req, res) {

0 commit comments

Comments
 (0)