SIGN IN SIGN UP
socketio / socket.io UNCLAIMED

Realtime application framework (Node.JS server)

0 0 0 TypeScript

Allow null or undefined origins when allowed origins is a function

Requests without an Origin header previously caused an exception to be thrown if the allowed origins passed to the constructor was set to a dynamic function. Omitted origins are now set to an asterisk and passed properly to the origins function.

A test for this case is included in this commit.
D
Drew Blaisdell committed
a116d7765a6288eada3ece3574328e2e564a53d8
Parent: 19c4422