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

Este commit está contenido en:
AJ ONeal 2019-04-06 13:48:17 -06:00
padre 8afda1184e
commit ddaebd9387
Se han modificado 3 ficheros con 3 adiciones y 2 borrados

Ver fichero

@ -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 generado
Ver fichero

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

Ver fichero

@ -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": [