From 2d688f8551971e1982e5605f76c1314add084f7b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 15 May 2018 18:37:25 +0000 Subject: [PATCH] require acme challenge middleware from https --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f908811..1eb3089 100644 --- a/README.md +++ b/README.md @@ -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()); }); ```