merge
This commit is contained in:
commit
1b988ddd91
8
serve.js
8
serve.js
|
@ -203,7 +203,7 @@ function run() {
|
||||||
var tls = require('tls');
|
var tls = require('tls');
|
||||||
|
|
||||||
// letsencrypt
|
// letsencrypt
|
||||||
var cert = require('localhost.daplie.com-certificates').merge({});
|
var httpsOptions = require('localhost.daplie.com-certificates').merge({});
|
||||||
var secureContext;
|
var secureContext;
|
||||||
|
|
||||||
var opts = {
|
var opts = {
|
||||||
|
@ -211,9 +211,9 @@ function run() {
|
||||||
, debug: argv.debug
|
, debug: argv.debug
|
||||||
, email: argv.email
|
, email: argv.email
|
||||||
, httpsOptions: {
|
, httpsOptions: {
|
||||||
key: cert.key
|
key: httpsOptions.key
|
||||||
, cert: cert.cert
|
, cert: httpsOptions.cert
|
||||||
//, ca: cert.ca
|
//, ca: httpsOptions.ca
|
||||||
}
|
}
|
||||||
, argv: argv
|
, argv: argv
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue