This commit is contained in:
AJ ONeal 2019-11-19 01:19:27 -07:00
parent 375524873d
commit 224f258daa
3 changed files with 2 additions and 6 deletions

View File

@ -2,7 +2,7 @@
module.exports.create = function(opts) {
var Greenlock = require("@root/greenlock");
var Init = require("@root/greenlock/lib/init.js");
//var Init = require("@root/greenlock/lib/init.js");
var greenlock = opts.greenlock;
/*
@ -18,7 +18,7 @@ module.exports.create = function(opts) {
*/
if (!greenlock) {
opts = Init._init(opts);
//opts = Init._init(opts);
greenlock = Greenlock.create(opts);
}
opts.packageAgent = addGreenlockAgent(opts);

View File

@ -32,7 +32,5 @@ Single.create = function(opts) {
});
}
};
// backwards compat starts now
single.serve = single.ready;
return single;
};

View File

@ -35,8 +35,6 @@ Worker.create = function() {
});
}
};
// backwards compat starts early...
worker.serve = worker.ready;
return worker;
};