Fix RabbitMQ запись в БД. Репо перенастроен на harbor
This commit is contained in:
@@ -4,6 +4,8 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
using PARR.AIHIT.Context;
|
||||
using PARR.AIHIT.Services;
|
||||
using PARR.AIHIT.Settings;
|
||||
using PARR.DAL;
|
||||
using PARR.Mail;
|
||||
|
||||
namespace PARR.AIHIT
|
||||
{
|
||||
@@ -14,7 +16,10 @@ namespace PARR.AIHIT
|
||||
var syncherSettings = new SyncherSettings();
|
||||
configuration.GetSection(nameof(SyncherSettings)).Bind(syncherSettings);
|
||||
services.AddSingleton(syncherSettings);
|
||||
|
||||
|
||||
services.InstallMailServices(configuration);
|
||||
services.InstallDalServices(configuration);
|
||||
|
||||
services.AddDbContext<AIHITContext>(options =>
|
||||
options.UseSqlServer(
|
||||
configuration.GetConnectionString("AihitConnection")
|
||||
|
||||
Reference in New Issue
Block a user