projects
/
henge
/
kiak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d1eef
)
https quick fix, TLS and NOTLS modes working
author
ken
<ken@kengrimes.com>
Tue, 27 Jun 2017 23:22:06 +0000
(23:22 +0000)
committer
ken
<ken@kengrimes.com>
Tue, 27 Jun 2017 23:22:06 +0000
(23:22 +0000)
main.js
patch
|
blob
|
history
diff --git
a/main.js
b/main.js
index
a058a1c
..
cdf8601
100644
(file)
--- a/
main.js
+++ b/
main.js
@@
-112,7
+112,7
@@
if (!opts['no-tls']) {
console.log(`ERR: Cert ${opts['ca-cert']} inaccessible, tls will fail`)
else if (key != undefined) {
router.httpsOpts = { cert: cert, key: key}
- router.httpd = https.createServer(
this
.httpsOpts, router.respond)
+ router.httpd = https.createServer(
router
.httpsOpts, router.respond)
.listen(opts['port'])
}
}