diff --git a/README.md b/README.md index 47e857b..ab3af88 100644 --- a/README.md +++ b/README.md @@ -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) { //