This commit is contained in:
2025-07-23 15:21:17 +08:00
parent 68c8096686
commit 910236028b
9 changed files with 262 additions and 889 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ using Hi.HiNcKits;
using Hi.Webapi.Hubs;
using Hi.Webapi.Services;
SingleUserApp.AppBegin();
LocalApp.AppBegin();
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
@@ -44,7 +44,7 @@ var app = builder.Build();
var lifetime = app.Services.GetRequiredService<IHostApplicationLifetime>();
lifetime.ApplicationStopping.Register(() =>
{
SingleUserApp.AppEnd();
LocalApp.AppEnd();
});
// Configure the HTTP request pipeline.