From 324faf17b361c3243261ca58732b4b473b43e7e6 Mon Sep 17 00:00:00 2001 From: Rainer Date: Fri, 12 Jun 2026 19:31:19 +0300 Subject: [PATCH] accept .json uploads (#880) --- ui/src/components/AddImagesModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/AddImagesModal.tsx b/ui/src/components/AddImagesModal.tsx index ee82ff67..a33e5d1b 100644 --- a/ui/src/components/AddImagesModal.tsx +++ b/ui/src/components/AddImagesModal.tsx @@ -212,6 +212,7 @@ export default function AddImagesModal() { 'video/*': ['.mp4', '.avi', '.mov', '.mkv', '.wmv', '.m4v', '.flv'], 'audio/*': ['.mp3', '.wav', '.flac', '.ogg'], 'text/*': ['.txt'], + 'application/json': ['.json'], }), [], ); @@ -270,7 +271,7 @@ export default function AddImagesModal() { {!isUploading ? ( <>

Drag & drop files here or click to select

-

Images, videos, or .txt supported

+

Images, videos, .txt or .json supported

) : (

Drop more files to add to queue