mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
fix(documents): allow clearing supported media MIME types in settings
This commit is contained in:
parent
21e390561d
commit
ca85166d9d
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@
|
|||
: {},
|
||||
CONTENT_EXTRACTION_SUPPORTED_MEDIA_MIME_TYPES:
|
||||
RAGConfig.CONTENT_EXTRACTION_SUPPORTED_MEDIA_MIME_TYPES.trim() === ''
|
||||
? undefined
|
||||
? []
|
||||
: RAGConfig.CONTENT_EXTRACTION_SUPPORTED_MEDIA_MIME_TYPES.split(',')
|
||||
.map((mimeType: string) => mimeType.trim())
|
||||
.filter((mimeType: string) => mimeType !== ''),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue