mirror of
https://github.com/therootcompany/greenlock.js.git
synced 2025-03-05 16:20:44 +00:00
use homedir()
This commit is contained in:
parent
35971160e6
commit
98b040de3e
@ -42,7 +42,7 @@ Usage
|
||||
<!-- * `le.fetch(args, cb)` -->
|
||||
|
||||
```javascript
|
||||
var leBinPath = '/home/user/.local/share/letsencrypt/bin/letsencrypt';
|
||||
var leBinPath = require('os').homedir() + '/.local/share/letsencrypt/bin/letsencrypt';
|
||||
var lep = require('letsencrypt-python').create(leBinPath);
|
||||
|
||||
// backend-specific defaults
|
||||
|
Loading…
x
Reference in New Issue
Block a user