aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorHoang Pham <hoangmaths96@gmail.com>2024-06-27 16:58:33 +0700
committerJulius Härtl <jus@bitgrid.net>2024-07-04 11:09:21 +0200
commit9a2f026bd675dba99c04e380cf084e6ccd5fe96d (patch)
tree353f47a3d9b3d0d5edcfd422b09673f9bd999b8d /resources
parent8cb0f1a3ae62790152795b66e57a6e9dd67f5996 (diff)
downloadnextcloud-server-9a2f026bd675dba99c04e380cf084e6ccd5fe96d.tar.gz
nextcloud-server-9a2f026bd675dba99c04e380cf084e6ccd5fe96d.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 40144878465..6fe7db76318 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 3ff4c3c78ad..49f2a1ea21f 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -59,6 +59,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"],