diff --git a/examples/http/standalone-proxy.js b/examples/http/standalone-proxy.js index e39d4b0..9ffa817 100644 --- a/examples/http/standalone-proxy.js +++ b/examples/http/standalone-proxy.js @@ -32,7 +32,7 @@ var util = require('util'), // // Http Server with proxyRequest Handler and Latency // -var proxy = new httpProxy.HttpProxy(); +var proxy = new httpProxy.RoutingProxy(); http.createServer(function (req, res) { var buffer = httpProxy.buffer(req); setTimeout(function() { diff --git a/examples/websocket/latent-websocket-proxy.js b/examples/websocket/latent-websocket-proxy.js index 85a06a9..3112f6b 100644 --- a/examples/websocket/latent-websocket-proxy.js +++ b/examples/websocket/latent-websocket-proxy.js @@ -27,7 +27,7 @@ var sys = require('sys'), http = require('http'), colors = require('colors'), - websocket = require('./../vendor/websocket'), + websocket = require('../../vendor/websocket'), httpProxy = require('../../lib/node-http-proxy'); try { diff --git a/examples/websocket/standalone-websocket-proxy.js b/examples/websocket/standalone-websocket-proxy.js index c173405..bfbc252 100644 --- a/examples/websocket/standalone-websocket-proxy.js +++ b/examples/websocket/standalone-websocket-proxy.js @@ -27,7 +27,7 @@ var sys = require('sys'), http = require('http'), colors = require('colors'), - websocket = require('./../vendor/websocket'), + websocket = require('../../vendor/websocket'), httpProxy = require('../../lib/node-http-proxy'); try { diff --git a/examples/websocket/websocket-proxy.js b/examples/websocket/websocket-proxy.js index a1e49c6..975fab0 100644 --- a/examples/websocket/websocket-proxy.js +++ b/examples/websocket/websocket-proxy.js @@ -27,7 +27,7 @@ var sys = require('sys'), http = require('http'), colors = require('colors'), - websocket = require('./../vendor/websocket'), + websocket = require('../../vendor/websocket'), httpProxy = require('../../lib/node-http-proxy'); try {