[doc] add missing {} to make an object

This commit is contained in:
Yoji SHIDARA 2012-04-03 16:23:00 +09:00
parent 11315e63fa
commit 843901eeeb

View File

@ -335,11 +335,11 @@ var http = require('http'),
// //
// Create an instance of node-http-proxy // Create an instance of node-http-proxy
// //
var proxy = new httpProxy.HttpProxy( var proxy = new httpProxy.HttpProxy({
target: { target: {
host: 'localhost', host: 'localhost',
port: 8000 port: 8000
}); }});
var server = http.createServer(function (req, res) { var server = http.createServer(function (req, res) {
// //