Move Configuration of Workers to separate method

This commit is contained in:
2025-07-20 19:19:06 +02:00
parent 1ee442ea2e
commit 454f468fd4
2 changed files with 13 additions and 2 deletions

View File

@@ -145,6 +145,8 @@ using (IServiceScope scope = app.Services.CreateScope())
Tranga.StartLogger();
Tranga.AddDefaultWorkers();
Tranga.PeriodicWorkerStarterThread.Start(app.Services);
app.UseCors("AllowAll");