From 79fab01546efe11ecdfab7b0fa6cbccb76c828e6 Mon Sep 17 00:00:00 2001 From: Leandro Hernan Rojas Date: Thu, 3 Apr 2025 17:31:07 -0300 Subject: [PATCH] Add Patch in API --- phronCare.API/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();