Add Patch in API
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m16s

This commit is contained in:
Leandro Hernan Rojas 2025-04-03 17:31:07 -03:00
parent 50014b6765
commit 79fab01546

View File

@ -150,11 +150,11 @@ builder.Services.AddEndpointsApiExplorer();
var app = builder.Build(); var app = builder.Build();
if (app.Environment.IsDevelopment()) //if (app.Environment.IsDevelopment())
{ //{
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(); app.UseSwaggerUI();
} //}
app.UseCors("CORS"); app.UseCors("CORS");
app.UseAuthentication(); app.UseAuthentication();