Merge branch 'master' of spanasik/greenlock.js into master

This commit is contained in:
AJ ONeal 2018-04-16 06:09:18 +00:00 committed by Gitea
commit 84e21d2385
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ LE.create = function (le) {
ACME = require('le-acme-core').ACME;
console.warn("Let's Encrypt v1 is deprecated. Please update to Let's Encrypt v2 (ACME draft 11)");
}
else if (-1 !=== [ 'https://acme-v02.api.letsencrypt.org/directory'
else if (-1 !== [ 'https://acme-v02.api.letsencrypt.org/directory'
, 'https://acme-staging-v02.api.letsencrypt.org/directory' ].indexOf(le.server)) {
if ('v02' !== le.version && 'draft-11' !== le.version) {
ACME = require('le-acme-core').ACME;

View File

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.2.0",
"version": "2.2.1",
"description": "Let's Encrypt for node.js on npm",
"main": "index.js",
"scripts": {