remove unused package

This commit is contained in:
AJ ONeal 2018-05-12 16:50:36 -06:00
parent c92dde1b87
commit 65f0989b44
1 changed files with 4 additions and 6 deletions

View File

@ -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!");