Skip to content

Commit 972c8c0

Browse files
committed
updated paths to use npm
1 parent 82b8228 commit 972c8c0

File tree

6 files changed

+3
-103
lines changed

6 files changed

+3
-103
lines changed

Diff for: demo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
var sys = require('sys'),
2828
colors = require('colors')
2929
http = require('http'),
30-
httpProxy = require('./lib/node-http-proxy');
30+
httpProxy = require('http-proxy');
3131

3232
// ascii art from http://github.com/marak/asciimo
3333
var welcome = '\

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "http-proxy",
33
"description": "A full-featured http reverse proxy for node.js",
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"author": "Charlie Robbins <[email protected]>",
66
"contributors": [
77
{ "name": "Marak Squires", "email": "[email protected]" }

Diff for: spark_demo/ReadMe

Whitespace-only changes.

Diff for: spark_demo/proxy.js

-48
This file was deleted.

Diff for: spark_demo/server.js

-50
This file was deleted.

Diff for: test/node-http-proxy-test.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ var vows = require('vows'),
2929
assert = require('assert'),
3030
http = require('http');
3131

32-
require.paths.unshift(require('path').join(__dirname, '../lib/'));
33-
34-
var httpProxy = require('node-http-proxy');
32+
var httpProxy = require('http-proxy');
3533
var testServers = {};
3634

3735
//

0 commit comments

Comments
 (0)