mirror of
https://github.com/open-webui/open-webui
synced 2025-06-23 02:16:52 +00:00
refac
This commit is contained in:
parent
349b0ca0b7
commit
8f4104fb7a
@ -197,7 +197,7 @@
|
||||
await setEmbeddingConfig();
|
||||
|
||||
const config = await getRAGConfig(localStorage.token);
|
||||
config.ALLOWED_FILE_EXTENSIONS = config.ALLOWED_FILE_EXTENSIONS.join(', ');
|
||||
config.ALLOWED_FILE_EXTENSIONS = (config?.ALLOWED_FILE_EXTENSIONS ?? []).join(', ');
|
||||
|
||||
RAGConfig = config;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user