From b3143bf9306eb5a82afd7ff5d807f4e431aff1e0 Mon Sep 17 00:00:00 2001 From: Hoang Pham Date: Thu, 27 Jun 2024 16:58:33 +0700 Subject: feat: support excalidraw file Signed-off-by: Hoang Pham --- resources/config/mimetypealiases.dist.json | 1 + resources/config/mimetypemapping.dist.json | 1 + 2 files changed, 2 insertions(+) (limited to 'resources') 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"], -- cgit v1.2.3