Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-01-22 12:35:37 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-01-22 12:42:51 +0300
commitd47b84be67242960f6af5e8d16ea140e62a0933b (patch)
tree33232f3c91cfe9c9745f5fc6070a27d5a44ec49e /resources
parent798924757458f388a58b36038371f70dad6a3c90 (diff)
Add SGI and TGA preview support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/config/mimetypealiases.dist.json4
-rw-r--r--resources/config/mimetypemapping.dist.json2
2 files changed, 5 insertions, 1 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index 332daea197b..d02027619d6 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -104,6 +104,8 @@
"application/internet-shortcut": "link",
"application/km": "mindmap",
"application/x-freemind": "mindmap",
- "application/vnd.xmind.workbook": "mindmap"
+ "application/vnd.xmind.workbook": "mindmap",
+ "image/targa": "image/tga",
+ "image/targa": "image/tga"
}
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index 33e4ac016f9..b38046aef32 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -165,6 +165,7 @@
"rw2": ["image/x-dcraw"],
"schema": ["text/plain"],
"sgf": ["application/sgf"],
+ "sgi": ["image/sgi"],
"sh-lib": ["text/x-shellscript"],
"sh": ["text/x-shellscript"],
"srf": ["image/x-dcraw"],
@@ -177,6 +178,7 @@
"tbz2": ["application/x-bzip2"],
"tcx": ["application/vnd.garmin.tcx+xml"],
"tex": ["application/x-tex"],
+ "tga": ["image/tga"],
"tgz": ["application/x-compressed"],
"tiff": ["image/tiff"],
"tif": ["image/tiff"],