From b550cbdfc7b73c9ef44bfb8ffeff62507a749fcc Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Sat, 17 Feb 2024 18:09:54 -0800 Subject: [PATCH] Pipeline, add support for .MJS --- src/apps/chat/components/composer/attachments/pipeline.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/chat/components/composer/attachments/pipeline.tsx b/src/apps/chat/components/composer/attachments/pipeline.tsx index 5719f4290f..466a66cffe 100644 --- a/src/apps/chat/components/composer/attachments/pipeline.tsx +++ b/src/apps/chat/components/composer/attachments/pipeline.tsx @@ -18,6 +18,7 @@ const PLAIN_TEXT_MIMETYPES: string[] = [ 'text/markdown', 'text/csv', 'text/css', + 'text/javascript', 'application/json', ];