diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-11-15 11:48:50 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-11-15 12:00:03 +0100 |
commit | 582f07c8fc47d4a775f05fbaad32269753d944f0 (patch) | |
tree | ab93026a29788311d1de3efd35c98d5af40ff264 /resources | |
parent | baf74f0aa1b8947272b10532a3c3a1cff16b6085 (diff) | |
download | nextcloud-server-582f07c8fc47d4a775f05fbaad32269753d944f0.tar.gz nextcloud-server-582f07c8fc47d4a775f05fbaad32269753d944f0.zip |
Add text/asciidoc mimetype
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 <bjorn.forsman@gmail.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 2 |
1 files changed, 2 insertions, 0 deletions
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"], |