mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-11 05:09:49 +02:00
Implement #445, Startup tasks
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user