don't overwrite community package name

This commit is contained in:
AJ ONeal 2018-05-10 12:09:20 -06:00
parent 4d8b3b6859
commit 3b27aa6806
1 changed files with 1 additions and 1 deletions

2
lex.js
View File

@ -3,7 +3,7 @@
// opts.approveDomains(options, certs, cb) // opts.approveDomains(options, certs, cb)
module.exports.create = function (opts) { module.exports.create = function (opts) {
// accept all defaults for le.challenges, le.store, le.middleware // accept all defaults for le.challenges, le.store, le.middleware
opts._communityPackage = 'greenlock-express.js'; opts._communityPackage = opts._communityPackage || 'greenlock-express.js';
var le = require('greenlock').create(opts); var le = require('greenlock').create(opts);
opts.app = opts.app || function (req, res) { opts.app = opts.app || function (req, res) {