mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-16 09:48:13 -05:00
fixed initial db state
This commit is contained in:
@@ -32,6 +32,9 @@ builder.Logging.AddLogging();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
// Initialize the host
|
||||
await app.Init();
|
||||
|
||||
// Get LoggingConfigManager (will be created if not already registered)
|
||||
var configManager = app.Services.GetRequiredService<LoggingConfigManager>();
|
||||
|
||||
@@ -52,7 +55,4 @@ Log.Logger = logConfig.CreateLogger();
|
||||
// Configure the HTTP request pipeline
|
||||
app.ConfigureApi();
|
||||
|
||||
// Initialize the host
|
||||
await app.Init();
|
||||
|
||||
await app.RunAsync();
|
||||
Reference in New Issue
Block a user