Skip to content

Commit e785193

Browse files
RubenVerborghdmitrizagidulin
authored andcommitted
Allow additional HTTPS options.
1 parent 22b2f6c commit e785193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/create-server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ function createServer (argv, app) {
5757
throw new Error('Can\'t find SSL cert in ' + argv.sslCert)
5858
}
5959

60-
var credentials = {
60+
var credentials = Object.assign({
6161
key: key,
6262
cert: cert
63-
}
63+
}, argv)
6464

6565
if (ldp.webid && ldp.auth === 'tls') {
6666
credentials.requestCert = true

0 commit comments

Comments
 (0)