aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorHoang Pham <hoangmaths96@gmail.com>2024-06-27 16:58:33 +0700
committerHoang Pham <hoangmaths96@gmail.com>2024-07-25 16:59:24 +0700
commitb3143bf9306eb5a82afd7ff5d807f4e431aff1e0 (patch)
tree9793331a9bf4cb6287573fcf0d0ab9efc8f2d1d0 /resources
parent4a4f90c075f8c9a1e14c42f4a0f4bc606e7d64ab (diff)
downloadnextcloud-server-b3143bf9306eb5a82afd7ff5d807f4e431aff1e0.tar.gz
nextcloud-server-b3143bf9306eb5a82afd7ff5d807f4e431aff1e0.zip
feat: support excalidraw file
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/config/mimetypealiases.dist.json1
-rw-r--r--resources/config/mimetypemapping.dist.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index 6b0bcf3e59a..5ef08e2fc39 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -26,6 +26,7 @@
"application/postscript": "image",
"application/rss+xml": "application/xml",
"application/vnd.android.package-archive": "package/x-generic",
+ "application/vnd.excalidraw+json": "whiteboard",
"application/vnd.lotus-wordpro": "x-office/document",
"application/vnd.garmin.tcx+xml": "location",
"application/vnd.google-earth.kml+xml": "location",
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index c98e33756b6..d8723350d7c 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -58,6 +58,7 @@
"eps": ["application/postscript"],
"epub": ["application/epub+zip"],
"erf": ["image/x-dcraw"],
+ "excalidraw": ["application/vnd.excalidraw+json"],
"exe": ["application/x-ms-dos-executable"],
"fb2": ["application/x-fictionbook+xml", "text/plain"],
"flac": ["audio/flac"],