Fingerprint stylesheet asset

This commit is contained in:
2026-04-02 00:56:48 +02:00
parent f04f4aa08a
commit 0ac1bda10b
3 changed files with 3 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<base href="@BaseHref"/>
<title>RpgRoller</title>
<link rel="stylesheet" href="styles.css"/>
<link rel="stylesheet" href="@Assets["styles.css"]"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">

View File

@@ -34,10 +34,10 @@ if (!string.IsNullOrWhiteSpace(configuredPathBase))
}
app.UseResponseCompression();
app.UseStaticFiles();
app.UseAntiforgery();
app.MapRpgRollerApi();
app.MapStaticAssets();
app.MapRazorComponents<App>().AddInteractiveServerRenderMode();
app.Run();