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