From d393e90fc827be5619fc3fcb29ddd52b7860e539 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 30 Aug 2016 18:29:29 -0600 Subject: [PATCH] use path.join instead of path.sep --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3a6320b..b121c37 100644 --- a/index.js +++ b/index.js @@ -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 };