You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I'd love here is if there's a way we can do it on a per channel basis.... No clue how that would work, but if I could say ChatChannel must be protected by CORS on the same domain, but ApiChannel has different restrictions as it may be accessed outside of the domain.
https://guides.rubyonrails.org/action_cable_overview.html#allowed-request-origins
The Rails version allows a few CORS settings to be checked, and it rejects connections when they don't match:
The text was updated successfully, but these errors were encountered: