Skip to content

Commit

Permalink
Use rejectUnauthorized for WSS connection
Browse files Browse the repository at this point in the history
Set rejectUnauthorized option to false to get WSS connection working.
  • Loading branch information
nkuba committed Jan 21, 2023
1 parent 4158586 commit 04970c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ const servers = [
port: '443',
host: ELECTRUMX_HOST,
},
// FIXME: The client doesn't work with WSS connection.
{
protocol: 'wss',
port: '8443',
host: ELECTRUMX_HOST,
// FIXME: It's a temporary workaround to get the connection working.
options: {rejectUnauthorized: false},
},
]

Expand Down

0 comments on commit 04970c2

Please sign in to comment.