use path.join instead of path.sep
This commit is contained in:
parent
1353ac1c10
commit
d393e90fc8
2
index.js
2
index.js
@ -5,7 +5,7 @@ var path = require('path');
|
|||||||
|
|
||||||
var defaults = {
|
var defaults = {
|
||||||
//webrootPath: [ '~', 'letsencrypt', 'var', 'lib' ].join(path.sep)
|
//webrootPath: [ '~', 'letsencrypt', 'var', 'lib' ].join(path.sep)
|
||||||
webrootPath: require('os').tmpdir() + path.sep + 'acme-challenge'
|
webrootPath: path.join(require('os').tmpdir(), 'acme-challenge')
|
||||||
, debug: false
|
, debug: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user