Add dockerized host deploy flow and fix Blazor static boot assets
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/* Intentionally present to avoid 404 when no CSS isolation bundle is generated. */
|
||||
@@ -37,7 +37,7 @@
|
||||
<!-- Radzen Blazor JS -->
|
||||
<script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
|
||||
|
||||
<script src="_framework/blazor.webassembly#[.{fingerprint}].js"></script>
|
||||
<script src="_framework/blazor.webassembly.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -96,6 +96,8 @@ try
|
||||
// Configure Web API middleware (authentication, authorization, controllers, SignalR hub)
|
||||
app.UseWebApi();
|
||||
|
||||
// .NET 10 static asset endpoint mapping supports fingerprinted Blazor assets.
|
||||
app.MapStaticAssets();
|
||||
app.MapRazorPages();
|
||||
app.MapFallbackToFile("index.html");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user