tune.
This commit is contained in:
+2
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user