aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorAnupam Kumar <kyteinsky@gmail.com>2023-11-23 16:51:58 +0530
committerAnupam Kumar <kyteinsky@gmail.com>2024-03-15 20:23:27 +0530
commit8b0d49327a4c8ab95f93dbdbc67f57ea351c7757 (patch)
tree3842149e5388a9bccd3d8d022375b7381f6a0e71 /resources
parente0faca6170e9bf39bfe34fcac225d4ae2ae8c3b7 (diff)
downloadnextcloud-server-8b0d49327a4c8ab95f93dbdbc67f57ea351c7757.tar.gz
nextcloud-server-8b0d49327a4c8ab95f93dbdbc67f57ea351c7757.zip
feat(mimetypes): Add mimetype for ReStructuredText
Signed-off-by: Anupam Kumar <kyteinsky@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..40144878465 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -106,6 +106,7 @@
"text/x-java-source": "text/code",
"text/x-ldif": "text/code",
"text/x-python": "text/code",
+ "text/x-rst": "text",
"text/x-shellscript": "text/code",
"web": "text/code",
"application/internet-shortcut": "link",
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index 05bcbec7fbb..3ff4c3c78ad 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -174,6 +174,7 @@
"rar": ["application/x-rar-compressed"],
"reveal": ["text/reveal"],
"rss": ["application/rss+xml"],
+ "rst": ["text/x-rst"],
"rtf": ["text/rtf"],
"rw2": ["image/x-dcraw"],
"schema": ["text/plain"],