📅  最后修改于: 2022-03-11 14:58:03.954000             🧑  作者: Mango
app.UseEndpoints(endpoints =>
{
endpoints.MapBlazorHub(opts => opts.WebSockets.CloseTimeout = new TimeSpan(1, 0, 0));
endpoints.MapFallbackToPage("/_Host");
});