.net10 and few fixes
Some checks failed
Build Docker Images / build-and-push (push) Failing after 11s

This commit is contained in:
2025-11-21 16:37:47 +01:00
parent a631cd6b3e
commit 2b7ed3e451
11 changed files with 142 additions and 82 deletions

View File

@@ -18,8 +18,6 @@ builder.Services.AddScoped<ProductSyncService>();
builder.Services.AddHttpClient();
builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
// Start Hangfire section
builder.Services.AddHangfire(configuration => configuration
@@ -110,11 +108,6 @@ using (var scope = app.Services.CreateScope())
}
}
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseHttpsRedirection();
app.UseCors("AllowAll");