use correck rc path
这个提交包含在:
父节点
341347ba3e
当前提交
783387f43d
|
@ -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);
|
||||
}
|
||||
|
|
正在加载...
在新工单中引用