require acme challenge middleware from https

This commit is contained in:
AJ ONeal 2018-05-15 18:37:25 +00:00
parent 0b2637b8e7
commit 2d688f8551
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ app.use('/', function (req, res) {
});
// handles your app
require('https').createServer(lex.httpsOptions, lex.middleware(app)).listen(443, function () {
require('https').createServer(lex.httpsOptions, app).listen(443, function () {
console.log("Listening for ACME tls-sni-01 challenges and serve app on", this.address());
});
```