mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-14 06:28:38 +02:00
7 lines
266 B
JavaScript
7 lines
266 B
JavaScript
|
// Action Cable provides the framework to deal with WebSockets in Rails.
|
||
|
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
|
||
|
|
||
|
import { createConsumer } from "@rails/actioncable"
|
||
|
|
||
|
export default createConsumer()
|