From 843901eeeb24611ad24889f13edcbfd5dee4314d Mon Sep 17 00:00:00 2001 From: Yoji SHIDARA Date: Tue, 3 Apr 2012 16:23:00 +0900 Subject: [PATCH] [doc] add missing {} to make an object --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { //