aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorACTom <i@actom.me>2020-04-15 01:19:58 +0800
committerACTom <i@actom.me>2020-04-15 01:19:58 +0800
commitefb3481d413e4d1116c392ab2425a67c25f769da (patch)
treec1d4a51d956602998729606aa22588033eb2f29e /core/js
parent12e54047a14ffb684e6a305f6e8ef5fc747abf51 (diff)
downloadnextcloud-server-efb3481d413e4d1116c392ab2425a67c25f769da.tar.gz
nextcloud-server-efb3481d413e4d1116c392ab2425a67c25f769da.zip
Add mindmap mimetype.
Signed-off-by: ACTom <i@actom.me>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/mimetypelist.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js
index 760d503f23e..bd9b2bd69f1 100644
--- a/core/js/mimetypelist.js
+++ b/core/js/mimetypelist.js
@@ -101,7 +101,10 @@ OC.MimeTypeList={
"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"
},
files: [
"application",
@@ -118,6 +121,7 @@ OC.MimeTypeList={
"image",
"link",
"location",
+ "mindmap",
"package-x-generic",
"text",
"text-calendar",