[fix] fix syntax errors. close issue #86

This commit is contained in:
Dominic Tarr 2011-08-09 20:32:10 +10:00
parent 2626308cd8
commit b8f84994b0
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@
, "connect-gzip": "0.1" , "connect-gzip": "0.1"
, "connect-jsonp": "0.0.5" , "connect-jsonp": "0.0.5"
, "connect-restreamer": "1" , "connect-restreamer": "1"
, "proxy-by-url": "0.0.0" , "proxy-by-url": ">= 0.0.1"
} }
} }

View File

@ -41,7 +41,7 @@ httpProxy.createServer(
'/hello': { port: 9000, host: 'localhost' }, '/hello': { port: 9000, host: 'localhost' },
'/charlie': { port: 80, host: 'charlieistheman.com' }, '/charlie': { port: 80, host: 'charlieistheman.com' },
'/google': { port: 80, host: 'google.com' } '/google': { port: 80, host: 'google.com' }
}); })
).listen(8000); ).listen(8000);
// //