Skip to content

Commit

Permalink
[doc] add missing {} to make an object
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Apr 3, 2012
1 parent 11315e6 commit 843901e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,11 @@ var http = require('http'),
//
// Create an instance of node-http-proxy
//
var proxy = new httpProxy.HttpProxy(
var proxy = new httpProxy.HttpProxy({
target: {
host: 'localhost',
port: 8000
});
}});

var server = http.createServer(function (req, res) {
//
Expand Down

0 comments on commit 843901e

Please sign in to comment.