From ee67a5bc8b4b15355563a665b3e70fbf119b2273 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 16 Aug 2016 11:20:28 -0600 Subject: [PATCH] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 8db3570..8baed56 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,7 @@ http.createServer(le.middleware(redirectHttps)); var app = require('express')(); -var httpsOptions = { SNICallback: le.sni.callback }; -httpsOptions = require('localhost.daplie.com-certificates').merge(httpsOptions); -https.createServer(dummyCerts, le.middleware(app)).listen(443); +https.createServer(le.httpsOptions, le.middleware(app)).listen(443); ``` You can also provide a thunk-style `getCertificates(domain, certs, cb)`.