Does Hatchbox support ActionCable?

Written by Chris Oliver
Updated over a week ago
You'll need to make sure your domains are added to the allowed request origins list otherwise ActionCable won't connect in production. https://guides.rubyonrails.org/action_cable_overview.html#allowed-request-origins

You'll also need to use the redis adapter for ActionCable to make sure that all your clients can talk to each other. https://guides.rubyonrails.org/action_cable_overview.html#subscription-adapter

Was this article helpful?