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

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

No files matched your search

+2 -2
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`.