bugfixes
This commit is contained in:
parent
375524873d
commit
224f258daa
|
@ -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);
|
||||
|
|
|
@ -32,7 +32,5 @@ Single.create = function(opts) {
|
|||
});
|
||||
}
|
||||
};
|
||||
// backwards compat starts now
|
||||
single.serve = single.ready;
|
||||
return single;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue