From a2a05aebf230b2478da2c5ca6bfdecab2ce7e3b9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 12 Feb 2016 21:33:50 -0500 Subject: [PATCH] add defaults... just for fun --- index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.js b/index.js index 87af69a..f5914ae 100644 --- a/index.js +++ b/index.js @@ -22,6 +22,15 @@ LE.certPath = ':config/live/:hostname/cert.pem'; LE.chainPath = ':config/live/:hostname/chain.pem'; LE.renewalPath = ':config/renewal/:hostname.conf'; LE.accountsDir = ':config/accounts/:server'; +LE.defaults = { + privkeyPath: LE.privkeyPath +, fullchainPath: LE.fullchainPath +, certPath: LE.certPath +, chainPath: LE.chainPath +, renewalPath: LE.renewalPath +, accountsDir: LE.accountsDir +, server: LE.productionServerUrl +}; // backwards compat LE.stagingServer = leCore.stagingServerUrl;