From fa2f2c29401194bbafd41c8470a4b10e5540e9b2 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 14 Oct 2016 09:43:50 -0600 Subject: [PATCH] note lex.middleware in migration from 1.x notes note lex.middleware in migration from 1.x notes addresses #96 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index caa8431..1df55a6 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ A few important things to note: * `approveRegistration` has been replaced by `approveDomains` * All of the behavior has moved to the various plugins, which each have their own options * Use https and http directly, don't rely on the silly `.listen()` helper. It's just there for looks. +* `lex.createAcmeResponder()` is now `lex.middleware(require('redirect-https')())` or `lex.middleware(app)` Usage =====