Browse Source

v2.7.12: pass 'wildname' to approveDomains()

dns-challenge-regression-fix v2.7.12
AJ ONeal 5 years ago
parent
commit
ddaebd9387
  1. 1
      index.js
  2. 2
      package-lock.json
  3. 2
      package.json

1
index.js

@ -452,6 +452,7 @@ Greenlock.create = function (gl) {
domain: domain, domains: certs && certs.altnames || [ domain ]
, certs: certs, certificate: {}, account: {}
};
opts.wildname = '*.' + (domain||'').split('.').slice(1).join('.');
function cb2(results) {
log(gl.debug, 'gl.approveDomains called with certs for', results.certs && results.certs.altnames || 'NONE', 'and options:');

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.7.11",
"version": "2.7.12",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.7.11",
"version": "2.7.12",
"description": "Let's Encrypt for node.js on npm",
"main": "index.js",
"files": [

Loading…
Cancel
Save