fix 'SyntaxError: Unexpected token =' #6

Merged
coolaj86 merged 1 commits from :master into master 2018-04-16 06:09:18 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit f8f3086f1b - Show all commits

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