diff --git a/phronCare.API/Program.cs b/phronCare.API/Program.cs index 347b483..acf3924 100644 --- a/phronCare.API/Program.cs +++ b/phronCare.API/Program.cs @@ -156,16 +156,15 @@ builder.Services.AddCors(options => /* Version para despliegue */ - // policy - // .WithOrigins("http://dev.biodec.saludlab.com.ar", "http://phroncareUI:80", "http://192.168.10.110:9002") - // .AllowAnyMethod() - // .AllowAnyHeader() - // .AllowCredentials(); - + policy + .WithOrigins("http://dev.biodec.saludlab.com.ar", "http://phroncareUI:80", "http://192.168.10.110:9002") + .AllowAnyMethod() + .AllowAnyHeader() + .AllowCredentials(); /* Version para desarrollo */ - policy.WithOrigins("*").AllowAnyHeader().AllowAnyMethod(); + //policy.WithOrigins("*").AllowAnyHeader().AllowAnyMethod(); }); }); #endregion