mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] fix syntax errors. close issue #86
This commit is contained in:
parent
2626308cd8
commit
b8f84994b0
@ -7,6 +7,6 @@
|
||||
, "connect-gzip": "0.1"
|
||||
, "connect-jsonp": "0.0.5"
|
||||
, "connect-restreamer": "1"
|
||||
, "proxy-by-url": "0.0.0"
|
||||
, "proxy-by-url": ">= 0.0.1"
|
||||
}
|
||||
}
|
||||
@ -41,7 +41,7 @@ httpProxy.createServer(
|
||||
'/hello': { port: 9000, host: 'localhost' },
|
||||
'/charlie': { port: 80, host: 'charlieistheman.com' },
|
||||
'/google': { port: 80, host: 'google.com' }
|
||||
});
|
||||
})
|
||||
).listen(8000);
|
||||
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user