consumer.ts 300 B

123456789
  1. // Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. import * as ActionCable from '@rails/actioncable'
  3. import log from '@shared/utils/log'
  4. ActionCable.adapters.logger = log as unknown as Console
  5. ActionCable.logger.enabled = true
  6. export default ActionCable.createConsumer()