Added more security and metrics
This commit is contained in:
@@ -13,6 +13,7 @@ namespace EonaCat.DoxaApi
|
||||
var options = new DoxaApiOptions();
|
||||
configure?.Invoke(options);
|
||||
services.AddSingleton(options);
|
||||
services.AddSingleton<MetricsCollector>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user