le -> lex

This commit is contained in:
AJ ONeal 2016-08-17 09:08:47 -06:00 committed by GitHub
parent 18778663d3
commit d8f41a51c4
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ var lex = require('letsencrypt-express').create({
// handles acme-challenge and redirects to https
require('http').createServer(le.middleware()).listen(80, function () {
require('http').createServer(lex.middleware()).listen(80, function () {
console.log("Listening for ACME http-01 challenges on", this.address());
});
@ -149,7 +149,7 @@ app.use('/', function (req, res) {
});
// handles your app
require('https').createServer(le.httpsOptions, le.middleware(app)).listen(443, function () {
require('https').createServer(lex.httpsOptions, lex.middleware(app)).listen(443, function () {
console.log("Listening for ACME tls-sni-01 challenges and serve app on", this.address());
});
```