Browse Source

bugfixes

v4
AJ ONeal 4 years ago
parent
commit
224f258daa
  1. 4
      greenlock-shim.js
  2. 2
      single.js
  3. 2
      worker.js

4
greenlock-shim.js

@ -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);

2
single.js

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

2
worker.js

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

Loading…
Cancel
Save