mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-04-06 07:30:42 +00:00
add some comments
This commit is contained in:
parent
0476905a5b
commit
da89714865
2
index.js
2
index.js
@ -114,6 +114,8 @@ module.exports.create = function (opts) {
|
||||
var server;
|
||||
var plainServer;
|
||||
|
||||
// If there is only one handler for the `listening` (i.e. TCP bound) event
|
||||
// then we want to use it as HTTPS (backwards compat)
|
||||
if (!fn) {
|
||||
fn = fnPlain;
|
||||
fnPlain = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user