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