fix: rag, chat deletion, and webhook after config persistence change

This commit is contained in:
Jun Siang Cheah
2024-05-14 14:30:15 +08:00
parent 233dcb2d95
commit 5369023e34
4 changed files with 11 additions and 11 deletions

View File

@@ -24,9 +24,9 @@
let backendConfig = null;
try {
backendConfig = await getBackendConfig();
console.log("Backend config:", backendConfig);
console.log('Backend config:', backendConfig);
} catch (error) {
console.error("Error loading backend config:", error);
console.error('Error loading backend config:', error);
}
// Initialize i18n even if we didn't get a backend config,
// so `/error` can show something that's not `undefined`.