From d8f41a51c440ee4be318617949ab64c23580da18 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 17 Aug 2016 09:08:47 -0600 Subject: [PATCH] le -> lex --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf6dad0..396c735 100644 --- a/README.md +++ b/README.md @@ -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()); }); ```