Skip to content

Commit 41a843d

Browse files
nextcloud-commandmejo-
authored andcommitted
feat: add nfo file support
Signed-off-by: Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent 4d75e68 commit 41a843d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lib/DirectEditing/TextDirectEditor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public function getMimetypes(): array {
8787
'text/x-h',
8888
'text/x-java-source',
8989
'text/x-ldif',
90+
'text/x-nfo',
9091
'text/x-python',
9192
'text/x-shellscript',
9293
];

src/helpers/mime.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const openMimetypesPlainText = [
2828
'text/x-h',
2929
'text/x-java-source',
3030
'text/x-ldif',
31+
'text/x-nfo',
3132
'text/x-python',
3233
'text/x-shellscript',
3334
]

0 commit comments

Comments
 (0)