Activate CORS
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m7s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 3m7s
This commit is contained in:
parent
050cf9af0f
commit
33b52a84df
@ -156,16 +156,15 @@ builder.Services.AddCors(options =>
|
|||||||
/*
|
/*
|
||||||
Version para despliegue
|
Version para despliegue
|
||||||
*/
|
*/
|
||||||
// policy
|
policy
|
||||||
// .WithOrigins("http://dev.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();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Version para desarrollo
|
Version para desarrollo
|
||||||
*/
|
*/
|
||||||
policy.WithOrigins("*").AllowAnyHeader().AllowAnyMethod();
|
//policy.WithOrigins("*").AllowAnyHeader().AllowAnyMethod();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user