From 88fca295dc6339cfb20119fc215ba309a8138270 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 22 Dec 2018 07:29:42 -0700 Subject: [PATCH] v2.6.6: ignore unused property --- index.js | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index 1ea0328..7e00550 100644 --- a/index.js +++ b/index.js @@ -390,9 +390,6 @@ Greenlock.create = function (gl) { if (!gl.agreeTos) { throw new Error("le-sni-auto is not properly configured. Missing agreeTos"); } - if (!gl.approvedDomains.length) { - throw new Error("le-sni-auto is not properly configured. Missing approveDomains(domain, certs, callback)"); - } if (!/[a-z]/i.test(lexOpts.domain)) { throw new Error("le-sni-auto does not allow IP addresses by default"); } diff --git a/package.json b/package.json index c7c81c3..59d9243 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "greenlock", - "version": "2.6.5", + "version": "2.6.6", "description": "Let's Encrypt for node.js on npm", "main": "index.js", "files": [