mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 21:28:05 +00:00
add communityPackageVersion
This commit is contained in:
parent
df9a27ec20
commit
05e01ce947
1
index.js
1
index.js
@ -12,6 +12,7 @@ module.exports.create = function (opts) {
|
||||
// accept all defaults for greenlock.challenges, greenlock.store, greenlock.middleware
|
||||
if (!opts._communityPackage) {
|
||||
opts._communityPackage = 'greenlock-express.js';
|
||||
opts._communityPackageVersion = require('./package.json').version;
|
||||
}
|
||||
|
||||
function explainError(e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user