use homedir()
This commit is contained in:
parent
35971160e6
commit
98b040de3e
|
@ -42,7 +42,7 @@ Usage
|
||||||
<!-- * `le.fetch(args, cb)` -->
|
<!-- * `le.fetch(args, cb)` -->
|
||||||
|
|
||||||
```javascript
|
```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);
|
var lep = require('letsencrypt-python').create(leBinPath);
|
||||||
|
|
||||||
// backend-specific defaults
|
// backend-specific defaults
|
||||||
|
|
Loading…
Reference in New Issue