fixed comment typos in examples/http/proxy-https-to-http.js and proxy-https-to-https.js, lines 37 and 46

This commit is contained in:
MetaHack 2012-01-09 12:43:57 +08:00 committed by Maciej Małecki
parent 5055689a11
commit 868f7e7a28
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ var https = require('https'),
var opts = helpers.loadHttps();
//
// Crete the target HTTPS server
// Create the target HTTPS server
//
http.createServer(function (req, res) {
res.writeHead(200, { 'Content-Type': 'text/plain' });
@ -43,7 +43,7 @@ http.createServer(function (req, res) {
}).listen(8000);
//
// Create the proxy server listening on port 443.
// Create the proxy server listening on port 443
//
httpProxy.createServer(8000, 'localhost', {
https: opts

View File

@ -34,7 +34,7 @@ var https = require('https'),
var opts = helpers.loadHttps();
//
// Crete the target HTTPS server
// Create the target HTTPS server
//
https.createServer(opts, function (req, res) {
res.writeHead(200, { 'Content-Type': 'text/plain' });
@ -43,7 +43,7 @@ https.createServer(opts, function (req, res) {
}).listen(8000);
//
// Create the proxy server listening on port 443.
// Create the proxy server listening on port 443
//
httpProxy.createServer(8000, 'localhost', {
https: opts,