remove dummy require express
This commit is contained in:
parent
22db053e6c
commit
6243eca6a6
4
lex.js
4
lex.js
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue