removed references to unused variable 'memorizeFor'
This commit is contained in:
parent
4e6a0b5e6e
commit
7de85aaf01
2
index.js
2
index.js
|
@ -40,7 +40,6 @@ LE._undefined = {
|
|||
|
||||
, renewWithin: u // le-auto-sni and core
|
||||
//, renewBy: u // le-auto-sni
|
||||
, memorizeFor: u
|
||||
, acmeChallengePrefix: u
|
||||
, rsaKeySize: u
|
||||
, challengeType: u
|
||||
|
@ -98,7 +97,6 @@ LE.create = function (le) {
|
|||
|
||||
if (!le.renewWithin) { le.renewWithin = 7 * DAY; }
|
||||
// renewBy has a default in le-sni-auto
|
||||
if (!le.memorizeFor) { le.memorizeFor = 1 * 24 * 60 * 60 * 1000; }
|
||||
|
||||
if (!le.server) {
|
||||
throw new Error("opts.server must be set to 'staging' or a production url, such as LE.productionServerUrl'");
|
||||
|
|
Loading…
Reference in New Issue