Ajuste CORS en API
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m42s

This commit is contained in:
Leandro Hernan Rojas 2025-02-01 13:13:10 -03:00
parent 94a9bd9254
commit 16a05d27e6

View File

@ -123,7 +123,7 @@ builder.Services.AddCors(options =>
options.AddPolicy("CORS", policy => options.AddPolicy("CORS", policy =>
{ {
policy policy
.WithOrigins("http://ui.biodec.saludlab.com.ar", "http://phroncareUI:80", "http://192.168.10.110:9002") .WithOrigins("http://dev.biodec.saludlab.com.ar", "http://phroncareUI:80", "http://192.168.10.110:9002")
.AllowAnyMethod() .AllowAnyMethod()
.AllowAnyHeader() .AllowAnyHeader()
.AllowCredentials(); .AllowCredentials();