note lex.middleware in migration from 1.x notes

note lex.middleware in migration from 1.x notes

addresses #96
This commit is contained in:
AJ ONeal 2016-10-14 09:43:50 -06:00 committed by GitHub
parent d69918b386
commit fa2f2c2940
1 changed files with 1 additions and 0 deletions

View File

@ -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
=====