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
|
||||
*/
|
||||
// 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user