Skip to content

Commit 868f7e7

Browse files
metahackmmalecki
authored andcommitted
fixed comment typos in examples/http/proxy-https-to-http.js and proxy-https-to-https.js, lines 37 and 46
1 parent 5055689 commit 868f7e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: examples/http/proxy-https-to-http.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var https = require('https'),
3434
var opts = helpers.loadHttps();
3535

3636
//
37-
// Crete the target HTTPS server
37+
// Create the target HTTPS server
3838
//
3939
http.createServer(function (req, res) {
4040
res.writeHead(200, { 'Content-Type': 'text/plain' });
@@ -43,7 +43,7 @@ http.createServer(function (req, res) {
4343
}).listen(8000);
4444

4545
//
46-
// Create the proxy server listening on port 443.
46+
// Create the proxy server listening on port 443
4747
//
4848
httpProxy.createServer(8000, 'localhost', {
4949
https: opts

Diff for: examples/http/proxy-https-to-https.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var https = require('https'),
3434
var opts = helpers.loadHttps();
3535

3636
//
37-
// Crete the target HTTPS server
37+
// Create the target HTTPS server
3838
//
3939
https.createServer(opts, function (req, res) {
4040
res.writeHead(200, { 'Content-Type': 'text/plain' });
@@ -43,7 +43,7 @@ https.createServer(opts, function (req, res) {
4343
}).listen(8000);
4444

4545
//
46-
// Create the proxy server listening on port 443.
46+
// Create the proxy server listening on port 443
4747
//
4848
httpProxy.createServer(8000, 'localhost', {
4949
https: opts,

0 commit comments

Comments
 (0)