From 9cee8a17139e1557e1528a6b6e67d11c0eb084cf Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:33:12 +0530 Subject: [PATCH] fix: CORS issue with file download (#10755) # Pull Request Template ## Description https://github.com/chatwoot/utils/pull/38 ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [ ] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --- .../components-next/message/bubbles/Image.vue | 6 +++++- .../widgets/conversation/components/GalleryView.vue | 7 ++++++- .../dashboard/i18n/locale/en/conversation.json | 3 +++ package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Image.vue b/app/javascript/dashboard/components-next/message/bubbles/Image.vue index 5727fd9e8..4015bc248 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Image.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Image.vue @@ -1,5 +1,7 @@