aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
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 /lib/private
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 'lib/private')
-rw-r--r--lib/private/Repair/RepairMimeTypes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Repair/RepairMimeTypes.php b/lib/private/Repair/RepairMimeTypes.php
index 30ef11ab190..6ff6d1ddd94 100644
--- a/lib/private/Repair/RepairMimeTypes.php
+++ b/lib/private/Repair/RepairMimeTypes.php
@@ -331,6 +331,7 @@ class RepairMimeTypes implements IRepairStep {
private function introduceZstType(): IResult|int|null {
$updatedMimetypes = [
'zst' => 'application/zstd',
+ 'nfo' => 'text/x-nfo',
];
return $this->updateMimetypes($updatedMimetypes);