feat(MailConfig): Schnittstelle zur Mail-Konfiguration über appsettings erstellt.
This commit is contained in:
@@ -83,7 +83,7 @@ try
|
||||
builder.Services.AddDbContext<EGDbContext>(options => options.UseSqlServer(connStr));
|
||||
|
||||
// Add envelope generator services
|
||||
builder.Services.AddEnvelopeGenerator();
|
||||
builder.Services.AddEnvelopeGenerator(config);
|
||||
|
||||
builder.Services.Configure<CookiePolicyOptions>(options =>
|
||||
{
|
||||
@@ -157,8 +157,6 @@ try
|
||||
|
||||
builder.Services.AddMemoryCache();
|
||||
|
||||
builder.ConfigureBySection<DispatcherConfig>();
|
||||
|
||||
builder.ConfigureBySection<Logo>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
Reference in New Issue
Block a user