v2.6.4: use correct acme url as default
This commit is contained in:
parent
551909a9d5
commit
fcb3b659cd
2
index.js
2
index.js
|
@ -143,7 +143,7 @@ Greenlock.create = function (gl) {
|
||||||
///////////////////////////
|
///////////////////////////
|
||||||
|
|
||||||
gl.version = gl.version || 'draft-11';
|
gl.version = gl.version || 'draft-11';
|
||||||
gl.server = gl.server || 'https://acme-v01.api.letsencrypt.org/directory';
|
gl.server = gl.server || 'https://acme-v02.api.letsencrypt.org/directory';
|
||||||
if (!gl.version) {
|
if (!gl.version) {
|
||||||
//console.warn("Please specify version: 'v01' (Let's Encrypt v1) or 'draft-12' (Let's Encrypt v2 / ACME draft 12)");
|
//console.warn("Please specify version: 'v01' (Let's Encrypt v1) or 'draft-12' (Let's Encrypt v2 / ACME draft 12)");
|
||||||
console.warn("");
|
console.warn("");
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.6.3",
|
"version": "2.6.4",
|
||||||
"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…
Reference in New Issue