Implement #445, Startup tasks

This commit is contained in:
2025-09-21 18:09:37 +02:00
parent 3a21517a18
commit 5c29496fa5
4 changed files with 17 additions and 29 deletions

View File

@@ -151,6 +151,7 @@ using (IServiceScope scope = app.Services.CreateScope())
Tranga.ServiceProvider = app.Services;
Tranga.StartLogger(new FileInfo("Log4Net.config.xml"));
Tranga.StartupTasks();
Tranga.AddDefaultWorkers();
app.UseCors("AllowAll");