From 1088d88aba76be7cb7cb0e41fb71ef75e8f6d456 Mon Sep 17 00:00:00 2001 From: natoromano Date: Fri, 13 Feb 2026 16:14:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F(back)=20fix=20mime=20type?= =?UTF-8?q?=20for=20pptx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix wrong mime type in config (for pptx) --- CHANGELOG.md | 1 + src/backend/conversations/settings.py | 2 +- src/frontend/apps/e2e/__tests__/app-conversations/common.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71bcf1d..0b7ea84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to ### Fixed - 💚(docker) vendor mime.types file instead of fetching from Apache SVN +- 🚑️(back) fix mime type for pptx - 🐛(front) fix math formulas and carousel translations - 🐛(helm) reverse liveness and readiness for backend deployment - 🐛(front) fix dark mode styling on chat messages diff --git a/src/backend/conversations/settings.py b/src/backend/conversations/settings.py index df87739..d1ccb43 100755 --- a/src/backend/conversations/settings.py +++ b/src/backend/conversations/settings.py @@ -702,7 +702,7 @@ class Base(BraveSettings, Configuration): # docx files "application/vnd.openxmlformats-officedocument.wordprocessingml.document", # pptx files - "application/vnd.openxmlformats-officedocument.presentationml", + "application/vnd.openxmlformats-officedocument.presentationml.presentation", # xlsx and xls files "application/vnd.ms-excel", "application/excel", diff --git a/src/frontend/apps/e2e/__tests__/app-conversations/common.ts b/src/frontend/apps/e2e/__tests__/app-conversations/common.ts index 13f206f..69dc0ab 100644 --- a/src/frontend/apps/e2e/__tests__/app-conversations/common.ts +++ b/src/frontend/apps/e2e/__tests__/app-conversations/common.ts @@ -26,7 +26,7 @@ export const CONFIG = { theme_customization: {}, chat_upload_accept: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document,' + - 'application/vnd.openxmlformats-officedocument.presentationml,' + + 'application/vnd.openxmlformats-officedocument.presentationml.presentation,' + 'application/vnd.ms-excel,' + 'application/excel,' + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,' +