remove unused package
This commit is contained in:
parent
c92dde1b87
commit
65f0989b44
10
README.md
10
README.md
|
@ -92,11 +92,9 @@ var leSni = require('le-sni-auto').create({
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// some default certificates that work with localhost
|
var tlsOptions = {
|
||||||
// (because default certificates are required as a fallback)
|
|
||||||
var tlsOptions = require('localhost.daplie.me-certificates').merge({
|
|
||||||
SNICallback: leSni.sniCallback
|
SNICallback: leSni.sniCallback
|
||||||
});
|
};
|
||||||
|
|
||||||
https.createServer(tlsOptions, app);
|
https.createServer(tlsOptions, app);
|
||||||
```
|
```
|
||||||
|
@ -148,9 +146,9 @@ var leSni = require('le-sni-auto').create({
|
||||||
renewWithin: 14 * 24 * 60 * 60 1000
|
renewWithin: 14 * 24 * 60 * 60 1000
|
||||||
});
|
});
|
||||||
|
|
||||||
var tlsOptions = require('localhost.daplie.com-certificates').merge({
|
var tlsOptions = {
|
||||||
SNICallback: leSni.sniCallback
|
SNICallback: leSni.sniCallback
|
||||||
});
|
};
|
||||||
|
|
||||||
function app(req, res) {
|
function app(req, res) {
|
||||||
res.end("Hello, World!");
|
res.end("Hello, World!");
|
||||||
|
|
Loading…
Reference in New Issue