use path.join instead of path.sep

This commit is contained in:
AJ ONeal 2016-08-30 18:29:29 -06:00
父節點 1353ac1c10
當前提交 d393e90fc8
共有 1 個文件被更改,包括 1 次插入1 次删除

查看文件

@ -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
};