Skip to content

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

Move importmap before prefetch/preload statements to fix Firefox loading issues (#1742)

Leendert de Borst8aeab3a9df04
diff --git a/apps/server/AliasVault.Client/wwwroot/index.template.html b/apps/server/AliasVault.Client/wwwroot/index.template.html
index d9b07788b..4e2e634b6 100644
--- a/apps/server/AliasVault.Client/wwwroot/index.template.html
+++ b/apps/server/AliasVault.Client/wwwroot/index.template.html
@@ -24,10 +24,10 @@ Build: @BuildVersion
<link rel="manifest" href="manifest.json?v=@CacheBuster" />
<link rel="apple-touch-icon" sizes="500x500" href="img/icon-500.png" />
<link rel="apple-touch-icon" sizes="192x192" href="img/icon-192.png" />
- <link rel="prefetch" href="/wasm/aliasvault_core_bg.wasm?v=@CacheBuster" as="fetch" type="application/wasm" crossorigin />
- <link rel="modulepreload" href="/wasm/aliasvault_core.js?v=@CacheBuster" />
<!-- Import map for .NET 10 fingerprinted static assets -->
<script type="importmap"></script>
+ <link rel="prefetch" href="/wasm/aliasvault_core_bg.wasm?v=@CacheBuster" as="fetch" type="application/wasm" crossorigin="anonymous" />
+ <link rel="modulepreload" href="/wasm/aliasvault_core.js?v=@CacheBuster" />
</head>
<body class="bg-gray-100 dark:bg-gray-900" av-disable="true">