Commit a1cdf005 authored by indexzero's avatar indexzero

[test] Update tests to use `localhost`

parent b4ac4d44
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment