SearchdomainManager cleanup; Fixed spelling mistake in Server/Program.cs
This commit is contained in:
@@ -20,7 +20,7 @@ builder.Services.AddSingleton<SearchdomainManager>();
|
|||||||
builder.Services.AddSingleton<AIProvider>();
|
builder.Services.AddSingleton<AIProvider>();
|
||||||
builder.Services.AddHealthChecks()
|
builder.Services.AddHealthChecks()
|
||||||
.AddCheck<DatabaseHealthCheck>("DatabaseHealthCheck")
|
.AddCheck<DatabaseHealthCheck>("DatabaseHealthCheck")
|
||||||
.AddCheck<AIProviderHealthCheck>("AIProviderHealthChecck");
|
.AddCheck<AIProviderHealthCheck>("AIProviderHealthCheck");
|
||||||
|
|
||||||
builder.Services.AddElmah<XmlFileErrorLog>(Options =>
|
builder.Services.AddElmah<XmlFileErrorLog>(Options =>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ public class SearchdomainManager
|
|||||||
private readonly ILogger<SearchdomainManager> _logger;
|
private readonly ILogger<SearchdomainManager> _logger;
|
||||||
private readonly IConfiguration _config;
|
private readonly IConfiguration _config;
|
||||||
public readonly AIProvider aIProvider;
|
public readonly AIProvider aIProvider;
|
||||||
private readonly string ollamaURL;
|
|
||||||
private readonly string connectionString;
|
private readonly string connectionString;
|
||||||
private MySqlConnection connection;
|
private MySqlConnection connection;
|
||||||
public SQLHelper helper;
|
public SQLHelper helper;
|
||||||
|
|||||||
Reference in New Issue
Block a user