diff --git a/Program.cs b/Program.cs index a1f06b1..7443060 100644 --- a/Program.cs +++ b/Program.cs @@ -33,7 +33,9 @@ builder.Services.AddCors(options => { policy .WithOrigins(CorsOrigins.ToArray()) - .AllowAnyHeader(); // this might not be the greatest idea + // this might not be the greatest idea: + .AllowAnyHeader() + .AllowAnyMethod(); }); });