mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-05-02 09:03:12 +00:00
add ino
filetype to text/plain support
This commit is contained in:
parent
79ce26de81
commit
c870e31aaa
1 changed files with 2 additions and 1 deletions
|
@ -38,6 +38,7 @@ class MimeDetector {
|
|||
"pas",
|
||||
"r",
|
||||
"go",
|
||||
"ino",
|
||||
],
|
||||
},
|
||||
true
|
||||
|
@ -47,7 +48,7 @@ class MimeDetector {
|
|||
// These are file types that are not detected by the mime library and need to be processed as text files.
|
||||
// You should only add file types that are not detected by the mime library, are parsable as text, and are files
|
||||
// with no extension. Otherwise, their extension should be added to the overrides array.
|
||||
#specialTextFileTypes = ["dockerfile", "jenkinsfile"];
|
||||
#specialTextFileTypes = ["dockerfile", "jenkinsfile", "dockerignore"];
|
||||
|
||||
/**
|
||||
* Returns the MIME type of the file. If the file has no extension found, it will be processed as a text file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue