diff --git a/phronCare.API/Program.cs b/phronCare.API/Program.cs index b3eedfc..814ef48 100644 --- a/phronCare.API/Program.cs +++ b/phronCare.API/Program.cs @@ -150,11 +150,11 @@ builder.Services.AddEndpointsApiExplorer(); var app = builder.Build(); -if (app.Environment.IsDevelopment()) -{ +//if (app.Environment.IsDevelopment()) +//{ app.UseSwagger(); app.UseSwaggerUI(); -} +//} app.UseCors("CORS"); app.UseAuthentication();