From 6243eca6a6a1ad6f3d5d990cf691dd53bd48183d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 14 Sep 2016 15:07:15 -0600 Subject: [PATCH] remove dummy require express --- lex.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lex.js b/lex.js index 9b0d7d9..003c727 100644 --- a/lex.js +++ b/lex.js @@ -5,9 +5,9 @@ module.exports.create = function (opts) { // accept all defaults for le.challenges, le.store, le.middleware var le = require('letsencrypt').create(opts); - opts.app = opts.app || require('express')().use('/', function (req, res) { + opts.app = function (req, res) { res.end("Hello, World!\nWith Love,\nLet's Encrypt Express"); - }); + }; opts.listen = function (plainPort, port) { var PromiseA = require('bluebird');