From 89e2fec39fe51add06db69d75414523caecb738c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 3 Aug 2020 08:42:01 +0000 Subject: [PATCH] fix configDir typo (should be directory, not file) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a20f0c0..1268b13 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,8 @@ Certificates are renewed every 45 days by default, and renewal checks will happe var pkg = require('./package.json'); var Greenlock = require('greenlock'); var greenlock = Greenlock.create({ - configDir: './greenlock.d/config.json', + packageRoot: __dirname, + configDir: "./greenlock.d/", packageAgent: pkg.name + '/' + pkg.version, maintainerEmail: pkg.author, staging: true, @@ -177,7 +178,7 @@ Creates an instance of greenlock with _environment_-level values. var pkg = require('./package.json'); var gl = Greenlock.create({ - configDir: './greenlock.d/config.json', + configDir: './greenlock.d/', // Staging for testing environments staging: true,