From 224f258daace19546929ed14263db3ad39724210 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 19 Nov 2019 01:19:27 -0700 Subject: [PATCH] bugfixes --- greenlock-shim.js | 4 ++-- single.js | 2 -- worker.js | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/greenlock-shim.js b/greenlock-shim.js index 66e6ed5..1689534 100644 --- a/greenlock-shim.js +++ b/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); diff --git a/single.js b/single.js index 9f35a7c..e0d59f6 100644 --- a/single.js +++ b/single.js @@ -32,7 +32,5 @@ Single.create = function(opts) { }); } }; - // backwards compat starts now - single.serve = single.ready; return single; }; diff --git a/worker.js b/worker.js index 286e0a8..d220990 100644 --- a/worker.js +++ b/worker.js @@ -35,8 +35,6 @@ Worker.create = function() { }); } }; - // backwards compat starts early... - worker.serve = worker.ready; return worker; };