diff --git a/PepApi.Core/Program.cs b/PepApi.Core/Program.cs index e3535e1..55dab16 100644 --- a/PepApi.Core/Program.cs +++ b/PepApi.Core/Program.cs @@ -53,11 +53,8 @@ builder.Services.AddCors(options => var app = builder.Build(); // Configure the HTTP request pipeline -if (app.Environment.IsDevelopment()) -{ - app.UseSwagger(); - app.UseSwaggerUI(); -} +app.UseSwagger(); +app.UseSwaggerUI(); app.UseCors();