Skip to content

Commit 5c42477

Browse files
committed
Disable static web asset fingerprinting
Updated project settings to turn off static web asset fingerprinting. Commented out the WebAssembly preload link and switched to a non-fingerprinted Blazor WebAssembly script reference in index.html to match the new configuration.
1 parent 4843431 commit 5c42477

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

BlazorExpress.ChartJS.Demo.WebAssembly/BlazorExpress.ChartJS.Demo.WebAssembly.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
8-
<FingerprintStaticWebAssets>true</FingerprintStaticWebAssets>
8+
<StaticWebAssetFingerprintingEnabled>false</StaticWebAssetFingerprintingEnabled>
9+
<StaticWebAssetsFingerprintContent>false</StaticWebAssetsFingerprintContent>
910
</PropertyGroup>
1011

1112
<ItemGroup>

BlazorExpress.ChartJS.Demo.WebAssembly/wwwroot/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<meta property="twitter:image" content="_content/BlazorExpress.ChartJS.Demo.RCL/images/line-chart.png">
2222

2323
<base href="/" />
24-
<link rel="preload" id="webassembly" />
24+
<!--<link rel="preload" id="webassembly" />-->
2525
<link rel="icon" type="image/png" href="favicon.png" />
2626

2727
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css">
@@ -56,7 +56,7 @@
5656
</div>
5757
</div>
5858

59-
<script src="_framework/blazor.webassembly#[.{fingerprint}].js"></script>
59+
<script src="_framework/blazor.webassembly.js"></script>
6060
<script src="_content/BlazorExpress.Bulma/js/blazorexpress.bulma.js" asp-append-version="true"></script>
6161

6262
<!-- Add chart.js reference if chart components are used in your application. -->

0 commit comments

Comments
 (0)