chore: Adjust Chatwoot Config to deploy frontend as a separate app (#2347)
This commit is contained in:
parent
3b39eb3e33
commit
25ba852b68
16 changed files with 53 additions and 60 deletions
|
@ -4,7 +4,8 @@ import { newMessageNotification } from 'shared/helpers/AudioNotificationHelper';
|
|||
|
||||
class ActionCableConnector extends BaseActionCableConnector {
|
||||
constructor(app, pubsubToken) {
|
||||
super(app, pubsubToken);
|
||||
const { websocketURL = '' } = window.chatwootConfig || {};
|
||||
super(app, pubsubToken, websocketURL);
|
||||
this.CancelTyping = [];
|
||||
this.events = {
|
||||
'message.created': this.onMessageCreated,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue