aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
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 /core/js
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 'core/js')
-rw-r--r--core/js/mimetypelist.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js
index 2e87ce756ba..7caeaa72f90 100644
--- a/core/js/mimetypelist.js
+++ b/core/js/mimetypelist.js
@@ -13,6 +13,7 @@ OC.MimeTypeList={
"application/font-sfnt": "font",
"application/font-woff": "font",
"application/gpx+xml": "location",
+ "application/gzip": "package/x-generic",
"application/illustrator": "image",
"application/javascript": "text/code",
"application/json": "text/code",
@@ -80,7 +81,7 @@ OC.MimeTypeList={
"application/x-fictionbook+xml": "text",
"application/x-font": "font",
"application/x-gimp": "image",
- "application/x-gzip": "package/x-generic",
+ "application/x-gzip": "application/gzip",
"application/x-iwork-keynote-sffkey": "x-office/presentation",
"application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet",
"application/x-iwork-pages-sffpages": "x-office/document",
@@ -105,6 +106,7 @@ OC.MimeTypeList={
"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",