From e00d0a631356850632714d971c7e6dac8009097f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 17 Dec 2015 02:35:40 -0800 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fdc713c..0df9789 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,18 @@ npm install --save letsencrypt-express // Note: using staging server url, remove .testing() for production var lex = require('letsencrypt-express').testing(); + var express = require('express'); var app = express(); -app.use('/', function (req, res) { + +// A happy little express app +app.use(function (req, res) { res.send({ success: true }); }); + +// assumes ~/letsencrypt/etc as the configDir and ports 80, 443, and 5001 by default lex.create(app).listen(); ```