cleanup to lib/
This commit is contained in:
parent
cd2fda3f2b
commit
7634414d82
4
serve.js
4
serve.js
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue