use path.join instead of path.sep

This commit is contained in:
AJ ONeal 2016-08-30 18:29:29 -06:00
parent 1353ac1c10
commit d393e90fc8
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ var path = require('path');
var defaults = {
//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
};