remove dummy require express

This commit is contained in:
AJ ONeal 2016-09-14 15:07:15 -06:00
parent 22db053e6c
commit 6243eca6a6
1 changed files with 2 additions and 2 deletions

4
lex.js
View File

@ -5,9 +5,9 @@ module.exports.create = function (opts) {
// accept all defaults for le.challenges, le.store, le.middleware // accept all defaults for le.challenges, le.store, le.middleware
var le = require('letsencrypt').create(opts); 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"); res.end("Hello, World!\nWith Love,\nLet's Encrypt Express");
}); };
opts.listen = function (plainPort, port) { opts.listen = function (plainPort, port) {
var PromiseA = require('bluebird'); var PromiseA = require('bluebird');