diff options
| author | mauve <ranger@mauve.moe> | 2020-08-17 20:57:59 -0400 |
|---|---|---|
| committer | Jannis Redmann <mail@jannisr.de> | 2020-08-19 16:34:35 +0200 |
| commit | 72abf040ac48253399787a60244318c0500b4770 (patch) | |
| tree | 774ca5dd3bf3baf28cacae47849a636bd36257cf /connect.js | |
| parent | 3e66046cf90e566bd3af7a0882078558726d196e (diff) | |
Fix up protocol issues
Diffstat (limited to 'connect.js')
| -rw-r--r-- | connect.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,7 +28,8 @@ const connectToGeminiServer = (opt, cb) => { const socket = connectTls({ ALPNProtocols: [ALPN_ID], minVersion: MIN_TLS_VERSION, - hostname, port, + host: hostname, + port, cert, key, passphrase, ...tlsOpt, }) |
