From efb3481d413e4d1116c392ab2425a67c25f769da Mon Sep 17 00:00:00 2001 From: ACTom Date: Wed, 15 Apr 2020 01:19:58 +0800 Subject: Add mindmap mimetype. Signed-off-by: ACTom --- resources/config/mimetypealiases.dist.json | 5 ++++- resources/config/mimetypemapping.dist.json | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'resources') diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 922ef7acf12..332daea197b 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -101,6 +101,9 @@ "text/x-python": "text/code", "text/x-shellscript": "text/code", "web": "text/code", - "application/internet-shortcut": "link" + "application/internet-shortcut": "link", + "application/km": "mindmap", + "application/x-freemind": "mindmap", + "application/vnd.xmind.workbook": "mindmap" } diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index 59f0e0a17cb..c59dfaefd30 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -85,6 +85,7 @@ "kdc": ["image/x-dcraw"], "key": ["application/x-iwork-keynote-sffkey"], "keynote": ["application/x-iwork-keynote-sffkey"], + "km": ["application/km"], "kml": ["application/vnd.google-earth.kml+xml"], "kmz": ["application/vnd.google-earth.kmz"], "kra": ["application/x-krita"], @@ -104,6 +105,7 @@ "mkd": ["text/markdown"], "mef": ["image/x-dcraw"], "mkv": ["video/x-matroska"], + "mm": ["application/x-freemind"], "mobi": ["application/x-mobipocket-ebook"], "mov": ["video/quicktime"], "mp3": ["audio/mpeg"], @@ -201,6 +203,7 @@ "xlt": ["application/vnd.ms-excel"], "xltm": ["application/vnd.ms-excel.template.macroEnabled.12"], "xltx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.template"], + "xmind": ["application/vnd.xmind.workbook"], "xml": ["application/xml", "text/plain"], "xrf": ["image/x-dcraw"], "yaml": ["application/yaml", "text/plain"], -- cgit v1.2.3