Skip to content

Commit 843901e

Browse files
committed
[doc] add missing {} to make an object
1 parent 11315e6 commit 843901e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,11 @@ var http = require('http'),
335335
//
336336
// Create an instance of node-http-proxy
337337
//
338-
var proxy = new httpProxy.HttpProxy(
338+
var proxy = new httpProxy.HttpProxy({
339339
target: {
340340
host: 'localhost',
341341
port: 8000
342-
});
342+
}});
343343

344344
var server = http.createServer(function (req, res) {
345345
//

0 commit comments

Comments
 (0)