diff --git a/Elecciones-Web/src/Elecciones.Api/Program.cs b/Elecciones-Web/src/Elecciones.Api/Program.cs index 107b70b..d68a357 100644 --- a/Elecciones-Web/src/Elecciones.Api/Program.cs +++ b/Elecciones-Web/src/Elecciones.Api/Program.cs @@ -41,7 +41,9 @@ builder.Services.AddCors(options => { policy.WithOrigins( "http://localhost:5173", // Para widgets - "http://localhost:5174" // Para admin + "http://localhost:5174", + "https://www.eldia.com", + "https://extras.eldia.com" // Para admin ) .AllowAnyHeader() .AllowAnyMethod();