diff --git a/Tranga-API/Program.cs b/Tranga-API/Program.cs index b0fb94b..778e976 100644 --- a/Tranga-API/Program.cs +++ b/Tranga-API/Program.cs @@ -36,6 +36,7 @@ builder.Services.AddCors(options => policy => { policy.WithOrigins("http://localhost", "http://127.0.0.1", "http://localhost:63342"); + policy.WithMethods("GET", "POST", "DELETE"); }); });