Skip to content

Commit

Permalink
Merge pull request #6423 from nextcloud/fix/nfo
Browse files Browse the repository at this point in the history
feat: add nfo file support
  • Loading branch information
juliusknorr authored Sep 18, 2024
2 parents 7ee22eb + 41a843d commit 4f540d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/DirectEditing/TextDirectEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function getMimetypes(): array {
'text/x-h',
'text/x-java-source',
'text/x-ldif',
'text/x-nfo',
'text/x-python',
'text/x-shellscript',
];
Expand Down
1 change: 1 addition & 0 deletions src/helpers/mime.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const openMimetypesPlainText = [
'text/x-h',
'text/x-java-source',
'text/x-ldif',
'text/x-nfo',
'text/x-python',
'text/x-shellscript',
]
Expand Down

0 comments on commit 4f540d5

Please sign in to comment.