feathers
feathers copied to clipboard
Add instructions for handling CORS for sockets
Summary
Since v3 of socket.io cors options need to be explicit. https://socket.io/docs/v3/handling-cors/
I spent about two hours figuring out what's happening; I think it'll be helpful to others in future if the docs stated how to handle it.
- [x] Tell us about the problem your pull request is solving.
- [ ] Are there any open issues that are related to this?
- [ ] Is this PR dependent on PRs in other repos?
Deploy Preview for feathers-dove failed.
| Name | Link |
|---|---|
| Latest commit | 223e9384b537d89928d90751d56e101dbced1638 |
| Latest deploy log | https://app.netlify.com/sites/feathers-dove/deploys/62dda5350c2168000ae6856b |
Hm... this is a good point, I'm wondering if the CLI should do more here and ask for the origin urls.