feat(ragflow): Remove unsupported MIME types from the upload filter
This commit is contained in:
@@ -80,12 +80,8 @@ class RAGFlowService:
|
|||||||
'application/epub+zip',
|
'application/epub+zip',
|
||||||
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||||
'text/plain',
|
'text/plain',
|
||||||
'text/html',
|
|
||||||
'text/markdown',
|
'text/markdown',
|
||||||
'text/csv',
|
'text/csv',
|
||||||
'text/xml',
|
|
||||||
'application/json',
|
|
||||||
'application/xml',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, ctx=None):
|
def __init__(self, ctx=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user