This commit is contained in:
Timothy Jaeryang Baek committed 2026-03-24 05:21:42 -05:00
1 parent 69171a4c8b
commit 24370d5c40
2 files changed
+32

No files matched your search

+6
View File
@@ -906,6 +906,12 @@
backendConfig = await getBackendConfig();
console.log('Backend config:', backendConfig);
} catch (error) {
if (error?.authRedirect) {
// Forward-auth proxy is redirecting to an external login page.
// Full-page navigation lets the browser follow the redirect natively.
window.location.href = '/';
return;
}
console.error('Error loading backend config:', error);
}
// Initialize i18n even if we didn't get a backend config,