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

Этот коммит содержится в:
AJ ONeal 2019-04-06 13:48:17 -06:00
родитель 8afda1184e
Коммит ddaebd9387
3 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

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