should require greenlock-express, not letsencrypt-express

This commit is contained in:
AJ ONeal 2017-02-01 18:27:28 -07:00
parent 653f121192
commit 094c5aed26
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ function createServer(port, pubdir, content, opts) {
var leChallengeFs = require('le-challenge-fs').create({ webrootPath: webrootPath }); var leChallengeFs = require('le-challenge-fs').create({ webrootPath: webrootPath });
//var leChallengeSni = require('le-challenge-sni').create({ webrootPath: webrootPath }); //var leChallengeSni = require('le-challenge-sni').create({ webrootPath: webrootPath });
var leChallengeDdns = require('le-challenge-ddns').create({ ttl: 1 }); var leChallengeDdns = require('le-challenge-ddns').create({ ttl: 1 });
var lex = require('letsencrypt-express').create({ var lex = require('greenlock-express').create({
// set to https://acme-v01.api.letsencrypt.org/directory in production // set to https://acme-v01.api.letsencrypt.org/directory in production
server: opts.debug ? 'staging' : 'https://acme-v01.api.letsencrypt.org/directory' server: opts.debug ? 'staging' : 'https://acme-v01.api.letsencrypt.org/directory'