Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update index.template.html (#1680)

Leendert de Borsta44a5283f846
diff --git a/apps/server/AliasVault.Client/wwwroot/index.template.html b/apps/server/AliasVault.Client/wwwroot/index.template.html
index c3628582e..a30c3c13e 100644
--- a/apps/server/AliasVault.Client/wwwroot/index.template.html
+++ b/apps/server/AliasVault.Client/wwwroot/index.template.html
@@ -347,8 +347,13 @@
if (errorMessage.includes('WebAssembly')) {
showError(getTranslation('errors.webAssemblyError'));
}
- // Detect Blazor boot failures
- else if (errorMessage.includes('blazor.boot.json') || errorMessage.includes('Failed to load config file') || errorMessage.includes('Failed to start platform')) {
+ // Detect Blazor boot failures and runtime errors that require a reload
+ else if (
+ errorMessage.includes('blazor.boot.json') ||
+ errorMessage.includes('Failed to load config file') ||
+ errorMessage.includes('Failed to start platform') ||
+ errorMessage.includes('Argument_InvalidHandle')
+ ) {
event.preventDefault();
handleBlazorBootFailure();
}