parent
7b65a32b8b
commit
39c3ca2d9f
|
|
@ -13,7 +13,10 @@
|
||||||
<link href="css/site.css" rel="stylesheet" />
|
<link href="css/site.css" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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>
|
<script src="_framework/blazor.server.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ namespace BlazorServerWeb_CSharp
|
||||||
#if (OrganizationalAuth || IndividualAuth)
|
#if (OrganizationalAuth || IndividualAuth)
|
||||||
endpoints.MapControllers();
|
endpoints.MapControllers();
|
||||||
#endif
|
#endif
|
||||||
endpoints.MapBlazorHub();
|
endpoints.MapBlazorHub<App>(selector: "app");
|
||||||
endpoints.MapFallbackToPage("/_Host");
|
endpoints.MapFallbackToPage("/_Host");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue