fix: Add base_url to the audio notification file (#4116)

This commit is contained in:
Nithin David Thomas
2022-03-10 20:40:47 +05:30
committed by GitHub
parent 647efa12e7
commit 3c3b6f90c7
7 changed files with 9 additions and 4 deletions

View File

@@ -119,7 +119,8 @@ export const IFrameHelper = {
},
setupAudioListeners: () => {
getAlertAudio().then(() =>
const { baseUrl = '' } = window.$chatwoot;
getAlertAudio(baseUrl).then(() =>
initOnEvents.forEach(event => {
document.removeEventListener(
event,