update example

This commit is contained in:
AJ ONeal 2016-08-19 16:22:57 -06:00 committed by GitHub
parent 287d0b6606
commit c65539bf6c
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ function approveDomains(opts, certs, cb) {
```javascript ```javascript
// handles acme-challenge and redirects to https // 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()); console.log("Listening for ACME http-01 challenges on", this.address());
}); });