From 65f0989b4496116222760699d3e58e3f1a7c4137 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 12 May 2018 16:50:36 -0600 Subject: [PATCH] remove unused package --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6570d5b..8628f23 100644 --- a/README.md +++ b/README.md @@ -92,11 +92,9 @@ var leSni = require('le-sni-auto').create({ -// some default certificates that work with localhost -// (because default certificates are required as a fallback) -var tlsOptions = require('localhost.daplie.me-certificates').merge({ +var tlsOptions = { SNICallback: leSni.sniCallback -}); +}; https.createServer(tlsOptions, app); ``` @@ -148,9 +146,9 @@ var leSni = require('le-sni-auto').create({ renewWithin: 14 * 24 * 60 * 60 1000 }); -var tlsOptions = require('localhost.daplie.com-certificates').merge({ +var tlsOptions = { SNICallback: leSni.sniCallback -}); +}; function app(req, res) { res.end("Hello, World!");