mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
349b0ca0b7
commit
8f4104fb7a
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@
|
||||||
await setEmbeddingConfig();
|
await setEmbeddingConfig();
|
||||||
|
|
||||||
const config = await getRAGConfig(localStorage.token);
|
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;
|
RAGConfig = config;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue