mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-06-15 23:20:32 +03:00
add ino filetype to text/plain support
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user