Skip to content

fix: correctly pass the options when using the Server constructor#610

Merged
darrachequesne merged 1 commit intosocketio:masterfrom
2Pacalypse-:master
Dec 30, 2020
Merged

fix: correctly pass the options when using the Server constructor#610
darrachequesne merged 1 commit intosocketio:masterfrom
2Pacalypse-:master

Conversation

@2Pacalypse-
Copy link
Copy Markdown
Contributor

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

When sending options to the Server constructor directly, they are not merged with the default ones.

New behaviour

Sent options are now correctly merged.

Other information (e.g. related issues)

Fixes #580

@darrachequesne darrachequesne merged commit cec2750 into socketio:master Dec 30, 2020
@darrachequesne
Copy link
Copy Markdown
Member

@2Pacalypse- thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should use the options given in instantiation, but it doesnt

2 participants