Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[NEW] add support for URI data in audio attachments #461

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

murtaza98
Copy link
Contributor

ISSUE

Currently, the Livechat Widget adds the server Url in front to each of the audio attachment URL. Eg. If the audio-attachment URL is file-uploads/abc/audio.mp4, then the widget converts it to http://localhost:3000/file-uploads/abc/audio.mp4.

However, this behavior is not required when the data in attachment is in DATA_URI_SCHEMA.

This PR attempts to solve this issue.

src/components/helpers.js Outdated Show resolved Hide resolved
Co-authored-by: Renato Becker <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants