mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
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:
parent
5055689a11
commit
868f7e7a28
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user