mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
7 lines
272 B
JavaScript
7 lines
272 B
JavaScript
// Action Cable provides the framework to deal with WebSockets in Rails.
|
|
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
|
|
|
|
import { createConsumer } from "@rails/actioncable";
|
|
|
|
export default createConsumer();
|