consumer.ts 300 B

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