From 8b04e08fd66416336121b70ac6f86e9eddf69856 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Tue, 20 Dec 2022 16:23:35 +0100 Subject: [PATCH] ModUI: Add application/json to text handler --- modui/mime.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modui/mime.py b/modui/mime.py index c94e800..e9992a5 100644 --- a/modui/mime.py +++ b/modui/mime.py @@ -62,7 +62,10 @@ class MIMEHandler: "application/java-archive", "application/vnd.openxmlformats" ], []], - MIMECategory.Text : [["text"], []], + MIMECategory.Text : [[ + "text", + "application/json", + ], []], MIMECategory.AV : [[ "audio", "video", "image", "application/mxf"