diff --git a/Tranga-API/Program.cs b/Tranga-API/Program.cs index 8e0017e..959d1ef 100644 --- a/Tranga-API/Program.cs +++ b/Tranga-API/Program.cs @@ -36,7 +36,7 @@ builder.Services.AddCors(options => options.AddPolicy(name: corsHeader, policy => { - policy.WithOrigins("*"); + policy.AllowAnyOrigin(); policy.WithMethods("GET", "POST", "DELETE"); }); });