From c65539bf6c8c2487ca71cdcfaa8ec8f0f4e2978b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 Aug 2016 16:22:57 -0600 Subject: [PATCH] update example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d2dd8a..69b4f19 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ function approveDomains(opts, certs, cb) { ```javascript // handles acme-challenge and redirects to https -require('http').createServer(lex.middleware()).listen(80, function () { +require('http').createServer(lex.middleware(require('redirect-https')())).listen(80, function () { console.log("Listening for ACME http-01 challenges on", this.address()); });