parent
7b65a32b8b
commit
39c3ca2d9f
|
|
@ -13,7 +13,10 @@
|
|||
<link href="css/site.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<app>@(await Html.RenderComponentAsync<App>())</app>
|
||||
<app>
|
||||
@* Remove the following line of code to disable prerendering *@
|
||||
@(await Html.RenderStaticComponentAsync<App>())
|
||||
</app>
|
||||
|
||||
<script src="_framework/blazor.server.js"></script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ namespace BlazorServerWeb_CSharp
|
|||
#if (OrganizationalAuth || IndividualAuth)
|
||||
endpoints.MapControllers();
|
||||
#endif
|
||||
endpoints.MapBlazorHub();
|
||||
endpoints.MapBlazorHub<App>(selector: "app");
|
||||
endpoints.MapFallbackToPage("/_Host");
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue