mirror of
https://github.com/therootcompany/greenlock.js.git
synced 2024-11-16 17:29:00 +00:00
Compare commits
5 Commits
c45fcdf150
...
88fca295dc
Author | SHA1 | Date | |
---|---|---|---|
88fca295dc | |||
911d05bb24 | |||
fcb3b659cd | |||
551909a9d5 | |||
4a11ae8ca7 |
3
index.js
3
index.js
@ -391,8 +391,7 @@ Greenlock.create = function (gl) {
|
|||||||
throw new Error("le-sni-auto is not properly configured. Missing agreeTos");
|
throw new Error("le-sni-auto is not properly configured. Missing agreeTos");
|
||||||
}
|
}
|
||||||
if (!/[a-z]/i.test(lexOpts.domain)) {
|
if (!/[a-z]/i.test(lexOpts.domain)) {
|
||||||
cb(new Error("le-sni-auto does not allow IP addresses in SNI"));
|
throw new Error("le-sni-auto does not allow IP addresses by default");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Array.isArray(gl.approvedDomains)) {
|
if (!Array.isArray(gl.approvedDomains)) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.6.7",
|
"version": "2.6.6",
|
||||||
"description": "Let's Encrypt for node.js on npm",
|
"description": "Let's Encrypt for node.js on npm",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user