Fix 1705
This commit is contained in:
@@ -41,7 +41,9 @@ builder.Services.AddCors(options =>
|
|||||||
{
|
{
|
||||||
policy.WithOrigins(
|
policy.WithOrigins(
|
||||||
"http://localhost:5173", // Para widgets
|
"http://localhost:5173", // Para widgets
|
||||||
"http://localhost:5174" // Para admin
|
"http://localhost:5174",
|
||||||
|
"https://www.eldia.com",
|
||||||
|
"https://extras.eldia.com" // Para admin
|
||||||
)
|
)
|
||||||
.AllowAnyHeader()
|
.AllowAnyHeader()
|
||||||
.AllowAnyMethod();
|
.AllowAnyMethod();
|
||||||
|
|||||||
Reference in New Issue
Block a user