3
3
Fork 0

use correck rc path

Dieser Commit ist enthalten in:
AJ ONeal 2019-11-03 02:55:53 -07:00
Ursprung 341347ba3e
Commit 783387f43d
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -30,7 +30,8 @@ function getGreenlockRc() {
// The RC file is also used by the (optional) CLI and (optional) Web GUI.
// You are free to forego CLI and GUI support.
var fs = require('fs');
var rcPath = '.greenlockrc';
var path = require('path');
var rcPath = path.join(__dirname, '.greenlockrc');
var rc = fs.readFileSync(rcPath, 'utf8');
return JSON.parse(rc);
}