cleanup to lib/

This commit is contained in:
AJ ONeal 2016-10-12 18:22:43 -06:00
parent cd2fda3f2b
commit 7634414d82
3 changed files with 2 additions and 2 deletions

View File

@ -398,12 +398,12 @@ function run() {
if (!(argv.servername && defaultServername !== argv.servername && !(argv.key && argv.cert))) {
// ifaces
opts.ifaces = require('./local-ip.js').find();
opts.ifaces = require('./lib/local-ip.js').find();
promise = PromiseA.resolve();
} else {
console.info("Attempting to resolve external connection for '" + argv.servername + "'");
try {
promise = require('./match-ips.js').match(argv.servername, opts);
promise = require('./lib/match-ips.js').match(argv.servername, opts);
} catch(e) {
console.warn("Upgrade to version 2.x to use automatic certificate issuance for '" + argv.servername + "'");
promise = PromiseA.resolve();