This commit is contained in:
Timothy Jaeryang Baek 2025-05-19 00:13:03 +04:00
parent 349b0ca0b7
commit 8f4104fb7a

View File

@ -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;
}); });