mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-10 23:48:02 -05:00
Previously, the protocol was not taken in account, which caused the following behaviour:
```js
io.origins('https://foo.example.com:443'); // ok as a string
io.origins(['https://foo.example.com:443'); // not ok as an array
```
Fixes #3190