mirror of
https://github.com/therootcompany/greenlock.js.git
synced 2024-11-16 17:29:00 +00:00
Compare commits
1 Commits
88fca295dc
...
c45fcdf150
Author | SHA1 | Date | |
---|---|---|---|
c45fcdf150 |
3
index.js
3
index.js
@ -391,7 +391,8 @@ 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)) {
|
||||||
throw new Error("le-sni-auto does not allow IP addresses by default");
|
cb(new Error("le-sni-auto does not allow IP addresses in SNI"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Array.isArray(gl.approvedDomains)) {
|
if (!Array.isArray(gl.approvedDomains)) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.6.6",
|
"version": "2.6.7",
|
||||||
"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