mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac
This commit is contained in:
parent
a8a9b35153
commit
82716f3789
1 changed files with 2 additions and 1 deletions
|
|
@ -170,7 +170,8 @@
|
||||||
await embeddingModelUpdateHandler();
|
await embeddingModelUpdateHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
RAGConfig.ALLOWED_FILE_EXTENSIONS = RAGConfig.ALLOWED_FILE_EXTENSIONS.split(',')
|
RAGConfig.ALLOWED_FILE_EXTENSIONS = (RAGConfig?.ALLOWED_FILE_EXTENSIONS ?? '')
|
||||||
|
.split(',')
|
||||||
.map((ext) => ext.trim())
|
.map((ext) => ext.trim())
|
||||||
.filter((ext) => ext !== '');
|
.filter((ext) => ext !== '');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue