Skip to content

Conversation

vandernorth
Copy link
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

Following strict typescript rules you cannot set the cors options to be a function as described here

New behaviour

You can now set the cors options to be a delegated function to determine cors options dynamically.

Other information (e.g. related issues)

@darrachequesne darrachequesne merged commit a463d26 into socketio:master Feb 17, 2022
@darrachequesne
Copy link
Member

@vandernorth 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.

2 participants