From 582f07c8fc47d4a775f05fbaad32269753d944f0 Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Tue, 15 Nov 2022 11:48:50 +0100 Subject: Add text/asciidoc mimetype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref https://docs.asciidoctor.org/asciidoc/latest/faq/#whats-the-media-type-aka-mime-type-for-asciidoc This is step 1 towards allowing editing of AsciiDoc files in Nextcloud. Step 2 is adding support in https://github.com/nextcloud/text. Signed-off-by: Bjørn Forsman --- resources/config/mimetypemapping.dist.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources') diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index a0c96f5936d..1c1a0f93c43 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -10,9 +10,11 @@ "3gp": ["video/3gpp"], "7z": ["application/x-7z-compressed"], "accdb": ["application/msaccess"], + "adoc": ["text/asciidoc", "text/plain"], "ai": ["application/illustrator"], "apk": ["application/vnd.android.package-archive"], "arw": ["image/x-dcraw"], + "asciidoc": ["text/asciidoc", "text/plain"], "avi": ["video/x-msvideo"], "bash": ["text/x-shellscript"], "bat": ["application/x-msdos-program"], -- cgit v1.2.3