aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2024-09-18 11:49:32 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2024-09-18 11:51:10 +0200
commit397910cd1d6d8c5e89ec05573db9db0e54cf784a (patch)
tree9b7b5f09221a5c4308b36a155ff7e50f0df30ad4 /resources
parentcd3256bf5445c4f2b20af345ab48485f21a45bfe (diff)
downloadnextcloud-server-397910cd1d6d8c5e89ec05573db9db0e54cf784a.tar.gz
nextcloud-server-397910cd1d6d8c5e89ec05573db9db0e54cf784a.zip
feat: add nfo file supportfeat/nfo
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.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 05af6382e30..1837c242ded 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -115,6 +115,7 @@
"text/x-h": "text/code",
"text/x-java-source": "text/code",
"text/x-ldif": "text/code",
+ "text/x-nfo": "text/code",
"text/x-python": "text/code",
"text/x-rst": "text",
"text/x-shellscript": "text/code",
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index 6f1f25f2718..705fed26f92 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -130,6 +130,7 @@
"mt2s": ["video/MP2T"],
"mts": ["video/MP2T"],
"nef": ["image/x-dcraw"],
+ "nfo": ["text/x-nfo"],
"numbers": ["application/x-iwork-numbers-sffnumbers"],
"odf": ["application/vnd.oasis.opendocument.formula"],
"odg": ["application/vnd.oasis.opendocument.graphics"],