don't overwrite community package name
This commit is contained in:
parent
4d8b3b6859
commit
3b27aa6806
2
lex.js
2
lex.js
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue