Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
Correcting TypeError: Cannot set property 'rejectUnauthorized' of und…
Browse files Browse the repository at this point in the history
…efined

Fixing theturtle32#146
  • Loading branch information
fresheneesz committed Oct 23, 2014
1 parent 6faf885 commit c40d8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebSocketClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function WebSocketClient(config) {

if (config) {
var tlsOptions = config.tlsOptions;
delete config.tlsOptions;
config.tlsOptions = {};
extend(this.config, config);
if (tlsOptions) {
extend(this.tlsOptions, tlsOptions);
Expand Down

0 comments on commit c40d8f5

Please sign in to comment.